Preflight Checklist
What's Wrong?
After putting the following settings into managed settings of Claude Enterprise, Cluade CLI still shows "1. Default (recommended) Opus 4.7 with 1M context · Most capable for complex work" on the menu. And users can still use Opus model.
{
"availableModels": ["sonnet", "haiku"],
"model": "claude-sonnet-4-6"
}
What Should Happen?
The default recommended Opus model shouldn't appear in the list if it is not in the availableModels list. And users should not be allowed to use it.
Error Messages/Logs
Steps to Reproduce
- Set availableModels in the managed settings of Claude Enterprise, which does not contain Opus models.
- Open Claude CLI and use /model command.
- The model picker shows up, and Opus model is still available as a default recommended model.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.153
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
No response
Preflight Checklist
What's Wrong?
After putting the following settings into managed settings of Claude Enterprise, Cluade CLI still shows "1. Default (recommended) Opus 4.7 with 1M context · Most capable for complex work" on the menu. And users can still use Opus model.
{
"availableModels": ["sonnet", "haiku"],
"model": "claude-sonnet-4-6"
}
What Should Happen?
The default recommended Opus model shouldn't appear in the list if it is not in the availableModels list. And users should not be allowed to use it.
Error Messages/Logs
Steps to Reproduce
Claude Model
None
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.153
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
No response