Search the documentation
3 pages for switchmodelsonflag.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Model configuration
Claude Code CLI · in the page
model-config
…g` and turn off **Switch models when a message is flagged**, or set [`switchModelsOnFlag`](/docs/en/settings-reference#switchmodelsonflag) to `false` in your settings file. A flagged request then paus…
Claude Code settings
Claude Code CLI · in the page
settings
…sh"}` | | `switchModelsOnFlag` | **Default**: `true`. When a [safety classifier flags a request](/docs/en/model-config#automati…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…| Interface and terminal | Any file | | [`switchModelsOnFlag`](#switchmodelsonflag) | Switch models automatically or pau…