[Fix] OpenAI provider section missing when ChatGPT is also connected#470
Merged
mrubens merged 1 commit intoJul 17, 2026
Merged
Conversation
Only remap openai/ models under ChatGPT when the subscription is the sole OpenAI-facing connection, so the OpenAI section stays visible when an API key is present too.
Contributor
Author
mrubens
marked this pull request as ready for review
July 17, 2026 04:55
mrubens
requested review from
brunobergher,
daniel-lxs and
mrubens
as code owners
July 17, 2026 04:55
mrubens
deleted the
fix/openai-section-when-chatgpt-connected-0xc74n19if5yd
branch
July 17, 2026 04:55
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.
Related issue
N/A — internal bug report from Slack.
Why this PR exists
What changed
When a ChatGPT subscription was connected, every
openai/model was listed under ChatGPT (subscription), which hid the OpenAI provider section even if an OpenAI API key was also connected.Model lists now keep the OpenAI section when an OpenAI key is present. ChatGPT-only connections still group
openai/models under ChatGPT. Runtime auth still prefers the subscription when both are configured (existing Inference Providers notice is unchanged).How it was tested
model-provider-configplus webModelSettingsSectionandModelSelectclient testscheck-types:fast, knipChecklist
[Fix],[Feat],[Improve],[Refactor],[Docs], or[Chore]followed by a user-facing descriptionpnpm lintandpnpm check-typespass locallypnpm changeset