[BUG] Claude Code VS Code extension — model picker doesn't reflect /model slash command until clicked
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Describe the bug
Changing the model via the /model slash command updates the actual session model, but the model picker dropdown in the extension UI keeps showing the old selection. The new model only shows as "selected" after clicking it manually in the dropdown — which is a no-op at that point, since the model is already active.
Steps to reproduce
Open Claude Code in the VS Code extension
Run /model claude-fable-5[1m] (output confirms "Set model to claude-fable-5"; /status shows the new model is active)
Open the model picker dropdown — it still displays the previous selection state until the new model is clicked
Expected behavior
The picker should re-render its selected state as soon as /model runs, so the UI matches the session state.
Environment
Claude Code VS Code extension (anthropic.claude-code)
macOS (Darwin 24.6.0)
What Should Happen?
We should see the /model reflected when we look into the dropdown when we go to see the model in use.
Error Messages/Logs
Steps to Reproduce
Steps to reproduce:
Open the Claude Code chat panel in the VS Code extension
Open the model picker dropdown in the extension UI
Fable (claude-fable-5) is displayed as selected/highlighted in the picker
However, the session is not actually using that model yet — the model only switches once you explicitly click Fable in the dropdown
Expected result:
The picker's displayed selection should match the model the session is actually using. If a model is shown as selected, no extra click should be needed to apply it.
Actual result:
The picker visually shows a model as selected before it's actually active. The selection is only applied when clicked, so the UI state and the real session model are out of sync, which is misleading.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
latest
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_