Skip to content

fix(errors): make model_not_supported advice client-neutral#201

Merged
stuffbucket merged 1 commit into
mainfrom
fix/client-neutral-model-error
Jul 3, 2026
Merged

fix(errors): make model_not_supported advice client-neutral#201
stuffbucket merged 1 commit into
mainfrom
fix/client-neutral-model-error

Conversation

@stuffbucket

Copy link
Copy Markdown
Owner

Problem

The model_not_supported recovery message hardcoded "in Claude Code run /model and pick one". This was seen in Claude Desktop — which has no /model command — so the primary instruction is wrong for that client (and any non-Claude-Code client).

Fix

Lead with the client-neutral instruction and demote the Claude-Code command to a parenthetical hint:

Switch to one of the supported models below — select it in your client's model picker, or set the model id explicitly (in Claude Code, run /model):

Also dropped the (see /model) suffix on the "…and N more" overflow line for the same reason.

Wording only — the model list and all matching logic are unchanged. check:fast green; tests/upstream-error-advice.test.ts updated to assert the client-neutral lead (11 pass).

Note

This addresses the misleading text. The separate, larger issue — Claude Desktop's model picker not loading a list at all (suspected Claude Desktop 3P config-path mismatch) — is under investigation and will be its own PR.

The model_not_supported recovery text hardcoded "in Claude Code run /model
and pick one", which is wrong for non-Claude-Code clients — it was seen in
Claude Desktop, which has no /model command. Lead with the client-agnostic
instruction (use the client's model picker, or set the model id explicitly)
and keep Claude Code's /model as a parenthetical hint. Also drop the
"(see /model)" suffix on the overflow line for the same reason.

Behavior/model list unchanged; wording only.
@stuffbucket
stuffbucket merged commit be26b58 into main Jul 3, 2026
4 checks passed
@stuffbucket
stuffbucket deleted the fix/client-neutral-model-error branch July 3, 2026 09:00
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.

1 participant