[BUG] When using Opus 4.7, auto-mode no longer works: "claude-opus-4-7 is temporarily unavailable, so auto mode cannot determine the safety of..."
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?
Auto-mode uses the wrong model by default, and now that Opus has been upgraded to 4-7, it is failing with this message:
Bash(npm --version)
⎿ Error: claude-opus-4-7 is temporarily unavailable, so auto mode cannot determine the safety of Bash right now. Wait briefly and then try this action again. If it keeps failing, continue with other tasks that don't require this action and come back to it later. Note: reading files, searching code, and other read-only operations do not require the classifier and can still be used.
(Note that if you run "Opus 4.7 (1M context)", the failure message is: claude-opus-4-7[1m] is temporarily unavailable
I think this is either a dupe, or a near-dupe of #38537 , but wanted to call it out because it needs a new fix.
Downgrading to Sonnet allows auto mode to work, as does "manually" downgrading to Opus 4.6 (even though it is not an option in the /model menu): /model claude-opus-4-6
What Should Happen?
Auto mode should continue to work, even if I am using the new default Opus 4.7.
Error Messages/Logs
Bash(npm --version)
⎿ Error: claude-opus-4-7 is temporarily unavailable, so auto mode cannot determine the safety of Bash right now. Wait briefly and then try this action again. If it keeps failing, continue with other tasks that don't require this action and come back to it later. Note: reading files, searching code, and other read-only operations do not require the classifier and can still be used.
Steps to Reproduce
Use auto-mode with the new Opus 4.7 model
Ask Claude code to run any command, and observe failure.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.100
Claude Code Version
2.1.111 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗