3 pages for claude_code_subagent_model_force.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…aude Code uses that model in place of the first source. If you set [`CLAUDE_CODE_SUBAGENT_MODEL_FORCE=1`](https://code.claude.com/docs/en/sub-agents#run-every-subagent-on-one-model), the first two so…
Model configuration
Claude Code CLI · in the page
model-config
…` field, including `inherit`, takes precedence. To change that, set [`CLAUDE_CODE_SUBAGENT_MODEL_FORCE`](https://code.claude.com/docs/en/sub-agents#run-every-subagent-on-one-model) | On third-party p…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…kflow agent](https://code.claude.com/docs/en/workflows.md), also set `CLAUDE_CODE_SUBAGENT_MODEL_FORCE` to `1`. Requires Claude Code v2.1.257 or later. * If you set both variables, subagents run on t…