Add /etc/claude-code/managed-settings.json with availableModels set to the three Anthropic model families. The file is root-owned inside the container so the node user cannot modify it. Managed settings cannot be bypassed via --model flag, /model command, or ANTHROPIC_MODEL env var.
3 lines
53 B
JSON
3 lines
53 B
JSON
{
|
|
"availableModels": ["sonnet", "opus", "haiku"]
|
|
}
|