Skip to content

fix: allow unlisted models for CLI providers#7090

Merged
alexhancock merged 1 commit intoblock:mainfrom
rabi:claude_models
Feb 9, 2026
Merged

fix: allow unlisted models for CLI providers#7090
alexhancock merged 1 commit intoblock:mainfrom
rabi:claude_models

Conversation

@rabi
Copy link
Contributor

@rabi rabi commented Feb 9, 2026

Summary

CLI providers use hard-coded model lists that can't keep up with new releases. Enabling allows_unlisted_models lets users enter custom model names during configuration instead of being restricted to the known list.

Type of Change

  • Feature
  • Bug fix
  • Refactor / Code quality
  • Performance improvement
  • Documentation
  • Tests
  • Security fix
  • Build / Release
  • Other (specify below)

CLI providers use hard-coded model lists that can't keep up with new
releases. Enabling allows_unlisted_models lets users enter custom
model names during configuration instead of being restricted to the
known list.

Co-authored-by: Cursor <cursoragent@cursor.com>

Signed-off-by: rabi <ramishra@redhat.com>
@alexhancock
Copy link
Collaborator

Is there a way we could make it load the right list?

@alexhancock alexhancock added this pull request to the merge queue Feb 9, 2026
Merged via the queue into block:main with commit c50a2c2 Feb 9, 2026
18 checks passed
tlongwell-block added a commit that referenced this pull request Feb 9, 2026
* origin/main:
  Docs: require auth optional for custom providers (#7098)
  fix: improve text-muted contrast for better readability (#7095)
  Always sync bundled extensions (#7057)
  feat: Add tom (Top Of Mind) platform extension (#7073)
  chore(docs): update GOOSE_SESSION_ID -> AGENT_SESSION_ID (#6669)
  fix(ci): switch from cargo-audit to cargo-deny for advisory scanning (#7032)
  chore(deps): bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /evals/open-model-gym/suite (#7085)
  chore(deps): bump @modelcontextprotocol/sdk from 1.25.3 to 1.26.0 in /evals/open-model-gym/mcp-harness (#7086)
  fix: switch to windows msvc (#7080)
  fix: allow unlisted models for CLI providers (#7090)
  Use goose port (#7089)
  chore: strip posthog for sessions/models/daily only (#7079)
  tidy: clean up old benchmark and add gym (#7081)
  fix: use command.process_group(0) for CLI providers, not just MCP (#7083)
  added build notify (#6891)
@codefromthecrypt
Copy link
Collaborator

@alexhancock this change subverts #7074 which makes returning no models invalid. The correction is to fix the metadata (static list) and/or implement the model list. this was a wildcard change done that wasn't fully analyzed. We should have waited for an answer IMHO as tech debt accumulates fast and it is hard to keep track of it all.

@codefromthecrypt
Copy link
Collaborator

I'll sort this out as a follow-up PR, there will be some who we can't control, just I think we need at least a comment when we do things like this, as it implies the model list is invalid, or there's something about it that can result in misses.

@codefromthecrypt
Copy link
Collaborator

the main issue in claude is that the CLI allows both an alias or a real model name and our faked list has aliases to avoid time-sensitive models. openai and ollama (:latest) is similar, just the aliases are more precise, just the suffix part is different.

--model <model>                                   Model for the current session. Provide an alias for the latest model (e.g. 'sonnet'     
   or 'opus') or a model's full                                                                                                                                 
                                                      name (e.g. 'claude-sonnet-4-5-20250929').   

@codefromthecrypt
Copy link
Collaborator

#7103 to follow up

michaelneale added a commit that referenced this pull request Feb 10, 2026
* main: (125 commits)
  chore: add a new scenario (#7107)
  fix: Goose Desktop missing Calendar and Reminders entitlements (#7100)
  Fix 'Edit In Place' and 'Fork Session' features (#6970)
  Fix: Only send command content to command injection classifier (excluding part of tool call dict) (#7082)
  Docs: require auth optional for custom providers (#7098)
  fix: improve text-muted contrast for better readability (#7095)
  Always sync bundled extensions (#7057)
  feat: Add tom (Top Of Mind) platform extension (#7073)
  chore(docs): update GOOSE_SESSION_ID -> AGENT_SESSION_ID (#6669)
  fix(ci): switch from cargo-audit to cargo-deny for advisory scanning (#7032)
  chore(deps): bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /evals/open-model-gym/suite (#7085)
  chore(deps): bump @modelcontextprotocol/sdk from 1.25.3 to 1.26.0 in /evals/open-model-gym/mcp-harness (#7086)
  fix: switch to windows msvc (#7080)
  fix: allow unlisted models for CLI providers (#7090)
  Use goose port (#7089)
  chore: strip posthog for sessions/models/daily only (#7079)
  tidy: clean up old benchmark and add gym (#7081)
  fix: use command.process_group(0) for CLI providers, not just MCP (#7083)
  added build notify (#6891)
  test(mcp): add image tool test and consolidate MCP test fixtures (#7019)
  ...
@codefromthecrypt
Copy link
Collaborator

codefromthecrypt commented Feb 10, 2026

fyi I rewrote model handling for claude #7120 this means you can use it in jetbrains etc with exactly the same model choices as Claude Code shows in /models only thing is there's no detail field so they are simple names.

lifeizhou-ap added a commit that referenced this pull request Feb 11, 2026
* main: (85 commits)
  Fix 'Edit In Place' and 'Fork Session' features (#6970)
  Fix: Only send command content to command injection classifier (excluding part of tool call dict) (#7082)
  Docs: require auth optional for custom providers (#7098)
  fix: improve text-muted contrast for better readability (#7095)
  Always sync bundled extensions (#7057)
  feat: Add tom (Top Of Mind) platform extension (#7073)
  chore(docs): update GOOSE_SESSION_ID -> AGENT_SESSION_ID (#6669)
  fix(ci): switch from cargo-audit to cargo-deny for advisory scanning (#7032)
  chore(deps): bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /evals/open-model-gym/suite (#7085)
  chore(deps): bump @modelcontextprotocol/sdk from 1.25.3 to 1.26.0 in /evals/open-model-gym/mcp-harness (#7086)
  fix: switch to windows msvc (#7080)
  fix: allow unlisted models for CLI providers (#7090)
  Use goose port (#7089)
  chore: strip posthog for sessions/models/daily only (#7079)
  tidy: clean up old benchmark and add gym (#7081)
  fix: use command.process_group(0) for CLI providers, not just MCP (#7083)
  added build notify (#6891)
  test(mcp): add image tool test and consolidate MCP test fixtures (#7019)
  fix: remove Option from model listing return types, propagate errors (#7074)
  fix: lazy provider creation for goose acp (#7026) (#7066)
  ...
Tyler-Hardin pushed a commit to Tyler-Hardin/goose that referenced this pull request Feb 11, 2026
Signed-off-by: rabi <ramishra@redhat.com>
Tyler-Hardin pushed a commit to Tyler-Hardin/goose that referenced this pull request Feb 11, 2026
Signed-off-by: rabi <ramishra@redhat.com>
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.

3 participants