Skip to content

feat(setup): ajouter support custom endpoint OpenAI/Anthropic-compatible#146

Merged
Destynova2 merged 1 commit intodevelopfrom
feat/custom-endpoint
Apr 11, 2026
Merged

feat(setup): ajouter support custom endpoint OpenAI/Anthropic-compatible#146
Destynova2 merged 1 commit intodevelopfrom
feat/custom-endpoint

Conversation

@Destynova2
Copy link
Copy Markdown
Contributor

Summary

  • Ajoute le support de custom endpoints OpenAI/Anthropic-compatible dans le wizard setup
  • Permet aux utilisateurs de configurer des providers self-hosted ou compatibles

Test plan

  • Hooks pre-commit verts
  • Sous-chef 3-lentilles en attente de vote

🤖 Generated with Claude Code

Ajoute deux nouvelles options dans le wizard setup pour configurer des
endpoints LLM custom compatibles OpenAI ou Anthropic. Le wizard demande
la base_url, valide la connexion via un appel GET /models, et écrit
le provider_type + base_url dans le TOML config.

Modifications :
- src/providers/registry.rs : nouveaux types "openai_compatible" et
  "anthropic_compatible" dans create_provider
- src/commands/credential_check.rs : validate_custom_endpoint() pour
  valider les clés API contre des endpoints custom
- src/commands/setup.rs : screen_custom_endpoints(), CustomEndpoint
  struct, intégration dans le wizard flow + 9 tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Destynova2 Destynova2 force-pushed the feat/custom-endpoint branch from c413d7a to 19aa9d9 Compare April 11, 2026 12:38
@Destynova2 Destynova2 merged commit 50788d3 into develop Apr 11, 2026
39 checks passed
@Destynova2 Destynova2 deleted the feat/custom-endpoint branch April 11, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant