feat(setup): ajouter support custom endpoint OpenAI/Anthropic-compatible#146
Merged
Destynova2 merged 1 commit intodevelopfrom Apr 11, 2026
Merged
feat(setup): ajouter support custom endpoint OpenAI/Anthropic-compatible#146Destynova2 merged 1 commit intodevelopfrom
Destynova2 merged 1 commit intodevelopfrom
Conversation
5e32f0d to
c413d7a
Compare
3 tasks
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>
c413d7a to
19aa9d9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
🤖 Generated with Claude Code