[BUG] VS Code Extension Defaulting To Sonnet, Ignoring Model Setting
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?
In VS Code Claude Code extension:
Select model:
Can choose default or specifically Opus:
Let's try force Opus.
Test:
But if I start a new session, lo and behold, the selection has mysteriously reset itself to Sonnet!
This is particularly strange given that my default model via the "regular" CLI has held:
What Should Happen?
Claude Code VS Code Extension should both:
-
Honor model preference of the CLI
-
Honor any user-overrides in the IDE
Error Messages/Logs
Steps to Reproduce
Pretty sure yes
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
v2.0.75
Platform
Other
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Terminal.app (macOS)
Additional Information
No response
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/13242
- https://github.com/anthropics/claude-code/issues/1523
- https://github.com/anthropics/claude-code/issues/14919
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
This issue has been automatically closed as a duplicate of #13242.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code