Repository navigation
feat: custom-openai provider namespace with separate env vars - #3338
Merged
Merged
Conversation
- Add 'custom-openai' provider kind to setup_wizard.rs with distinct env namespace - Add CustomOpenAi variant to ProviderConfigKind enum in api/client.rs - Implement OpenAiCompatConfig::custom_openai() for custom-openai endpoint - Update explicit_provider_kind_for_model() to handle 'custom-openai/' prefix - Add tests for custom-openai configuration persistence across runtime boundary Co-authored-by: TheArchitectit <thearchitectit@users.noreply.github.com> Fixes #3248
|
Separate env namespace for custom-openai endpoints is a clean way to avoid collisions with the built-in OpenAI vars — nice that the setup wizard guides through it too. Good consolidation of #3248. |
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.
This PR integrates the custom-openai provider namespace feature from PR #3248.
Changes
Testing
Supersedes #3248
Co-authored-by: TheArchitectit thearchitectit@users.noreply.github.com