[BUG] model switches silently to sonnet 4.6 from opus 4.8 1M after context compaction in Claude Code VS Code Assistant
Resolved 💬 0 comments Opened Jun 25, 2026 by earleddrack Closed Jun 25, 2026
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?
model switches silently to sonnet 4.6 from opus 4.8 1M after context compaction in Claude Code VS Code Assistant
What Should Happen?
model switches silently to sonnet 4.6 from opus 4.8 1M after context compaction in Claude Code VS Code Assistant
Error Messages/Logs
Steps to Reproduce
select opus 4.8 1M in new VS Code Claude Code session, work until auto-compaction occurs, check current model
Claude Model
_No response_
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.191
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_