[BUG] tools.10.model: 'claude-sonnet-4-6' cannot be used as an advisor when the request model is 'claude-opus-4-7'.
Open 💬 1 comment Opened May 19, 2026 by sumansaurabh
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 claude code, I am getting this error, everytime I run a task. I am using the latest claude-code with opus selected
tools.10.model: 'claude-sonnet-4-6' cannot be used as an advisor when the request model is 'claude-opus-4-7'.
<img width="1728" height="1117" alt="Image" src="https://github.com/user-attachments/assets/109b13ec-8004-4ec0-b54d-5266feb34448" />
What Should Happen?
It should run without error.
Error Messages/Logs
API Error: 400 tools.10.model: 'claude-sonnet-4-6' cannot be used as an advisor when the request model is 'claude-opus-4-7'.
Steps to Reproduce
- Starte Claude Code in mac-terminal
- Send a prompt and it will throw error
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.144
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗