Skip to content

feat(app): Align desktop model picker visibility with TUI#10705

Closed
jc-244 wants to merge 2 commits into
anomalyco:devfrom
jc-244:feat2
Closed

feat(app): Align desktop model picker visibility with TUI#10705
jc-244 wants to merge 2 commits into
anomalyco:devfrom
jc-244:feat2

Conversation

@jc-244

@jc-244 jc-244 commented Jan 26, 2026

Copy link
Copy Markdown

What does this PR do?

This PR aligns Desktop behavior with TUI:

How did you verify your code works?

Comparing desktop model list with that of TUI
image

image

@jc-244
jc-244 requested a review from adamdotdevin as a code owner January 26, 2026 16:11
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@adamdotdevin

Copy link
Copy Markdown
Member

I'm not following, can you elaborate?

@jc-244

jc-244 commented Jan 27, 2026

Copy link
Copy Markdown
Author

I'm not following, can you elaborate?

The intent here is simply: expose more model choices in the Desktop model picker (to match what TUI already exposes).

Motivation:
I sometimes need an older/smaller variant (e.g. GPT‑5.1‑mini), and it was being hidden by the family-based dedupe.

What TUI does:

  • TUI does not dedupe by family at all. It basically lists all models for a provider and only filters out deprecated ones:

pipe(
provider.models,
entries(),
filter(([_, info]) => info.status !== "deprecated"),
filter(([_, info]) => (props.providerID ? info.providerID === props.providerID : true)),
map(([model, info]) => {

  • There is already a allowlist for openai codex model provider

const allowedModels = new Set([
"gpt-5.1-codex-max",
"gpt-5.1-codex-mini",
"gpt-5.2",
"gpt-5.2-codex",
"gpt-5.1-codex",
])

What Desktop was doing:

  • Desktop had an extra gating by family values, so only one model per family showed up by default, which is why those additional variants weren’t visible.

What this change does:

  • Stop using family to collapse/dedupe the default-visible set, so more provider models become selectable in Desktop (while still keeping deprecated hidden; and if we want, we can still keep the existing “recent window” constraint to avoid showing truly old models). @adamdotdevin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Expand model picker options after OAuth subscription

2 participants