fix(model): include profile models in descriptor picker - #1361
Merged
kevincodex1 merged 2 commits intoMay 26, 2026
Merged
Conversation
jatmn
requested review from
Vasanthdev2004,
anandh8x,
auriti,
gnanam1990 and
techbrewboss
May 25, 2026 20:43
kevincodex1
approved these changes
May 26, 2026
4 tasks done
discopops
pushed a commit
to discopops/openclaude
that referenced
this pull request
May 28, 2026
* fix(model): include profile models in descriptor picker * fix(model): respect active profile model lists
Gravirei
added a commit
to Gravirei/openclaude
that referenced
this pull request
May 28, 2026
- fix(autocompact): retry circuit breaker after cooldown (Twigpine#1375) - fix(provider): require API key input when adding OpenGateway (Twigpine#1384) - fix(provider): allow remote Ollama without OPENAI_API_KEY (Twigpine#952) - fix(codex-stream): recover tool args delivered only via done events (Twigpine#1262) - fix: route MiniMax compacting through Anthropic-compatible API (Twigpine#1154) - fix(thinking): disable thinking for unsupported Ollama models (Twigpine#1376) - feat(agents): set active session agent from agents menu (Twigpine#1349) - fix(repl): show permission prompts while draft input is present (Twigpine#1393) - fix(model): include profile models in descriptor picker (Twigpine#1361) - Improve warning notice formatting (Twigpine#1415) - fix(codex): allow credential storage fallback (Twigpine#1347) - fix(attribution): make git attribution opt-in by default (Twigpine#1335) - fix(agent): allow custom model overrides (Twigpine#1337) - feat(query): robust multi-lingual and structural continuation nudge (Twigpine#1280) - fix(watchers): debounce skills and settings reload bursts (Twigpine#1370) - feat: configure API retry backoff (Twigpine#370) (Twigpine#1095) - chore(main): release 0.15.0 (Twigpine#1325) - ci: retrigger CodeQL after action download outage (Twigpine#1374) - Fix launcher heap setup for long sessions (Twigpine#1242)
11 tasks done
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
Fixes descriptor-backed
/modelpickers so they include models configured on the active provider profile, even when the provider's descriptor catalog or discovery results do not list every manually configured model.This addresses #1360, where a Mistral profile configured with multiple comma- or semicolon-separated models only showed
devstral-latestor the current first model in/model.Why
Provider profiles already support model-list fields such as:
However, descriptor-backed providers use
optionsOverridein the/modelcommand. That override was built only from the route catalog or discovered models, bypassing the active profile's configured model list. Mistral made this especially visible because its static descriptor catalog currently contains onlydevstral-latest.What Changed
mergeActiveProfileModelOptions()to merge active profile-configured models into descriptor-backed/modeloptions./model refresh.Provider Impact
Affected provider path:
/modelprovider routes, including Mistral.Expected behavior:
Validation
Ran:
bun test src/commands/model/model.test.tsx src/utils/model/routeCatalogOptions.test.ts bun run build git diff --checkResults:
Also ran:
Result:
Notes
This is intentionally a core
/modeldescriptor/profile fix rather than a Mistral catalog-only change, because the same issue can affect any descriptor-backed provider whose catalog or discovery results do not include manually configured profile models.