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
…essage is flagged**, and choose **Ask each time**. You can also set [`switchModelsOnFlag`](/docs/en/settings-reference#switchmodelsonflag) to `false` in your settings file. Claude Code then pauses at…
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…
All settings
Claude Code CLI · in the page
settings-reference
…splay with your own command | Interface and terminal | Any file | | [`switchModelsOnFlag`](#switchmodelsonflag) | Switch models automatically or pause when a [safety classifier](/docs/en/model-config.…