feat(providers): redesign setup and connect model pickers - #5706
Merged
Conversation
georgi
marked this pull request as ready for review
September 10, 2026 07:20
georgi
enabled auto-merge (squash)
September 10, 2026 07:20
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.
What changed
Model pickers now open provider setup when no configured provider supports the requested model type, and every picker includes an Add providers action. Provider discovery finishes before prompting, and local, OAuth, and managed providers count as configured. The setup dialog groups account sign-in and API keys, filters choices by task, and refreshes provider/model caches after connecting. The Providers settings page uses grouped rows with clearer status and actions. OpenAI sign-in is offered for chat, while image, speech, and embedding setup requires an API key.
Verification
npm run test:affected— 539 suites passed, 4,610 tests passed, 3 skipped. Run with localhost access for UI image fixtures.NODE_OPTIONS=--max-old-space-size=8192 npm run typechecknpm run lintnpm run dev:nodetool -- harness gate --base origin/main— 3 selfchecks passed.The automatic-opening assertion was inverted once in
useModelProviderSetup.test.tsxand failed as expected, then restored and rerun successfully:Screenshots
Desktop provider setup
Mobile provider setup