magpie-setup: subagents get their own model through magpie's settings

Myi3i4 on X asked whether the setup skill covers this: asking Codex to put a
subagent on a model works only sometimes. magpie already pins every Codex
subagent to one model or group whatever the lead names (subagent_model), and
Claude Code's subagents too; the skill now says so.

Run: each command in the new block ran against magpie built from magpie
origin/main 4ad… in a sandbox HOME (ollama provider with two models typed in):
codex subagent_model <model>, group/<id>, default, subagent_effort low and
claude subagent <model> each printed ✓ and wrote the setting.
Not tried: a real Codex subagent request through the gateway.
This commit is contained in:
yetone
2026-10-27 04:43:48 +08:00
parent 4bde462e21
commit 10ebbb3fc3
+11
View File
@@ -96,6 +96,17 @@ magpie codex effort high # another field (magpie codex --help lists
magpie claude default # take magpie out: back to what it had before magpie claude default # take magpie out: back to what it had before
``` ```
Subagents can have a model of their own. Set it here rather than asking the
lead agent to name a model each time, which it does only sometimes:
```sh
magpie codex subagent_model deepseek/deepseek-chat # every Codex subagent, whatever its lead asks for
magpie codex subagent_model group/cheap # or a routing group
magpie codex subagent_model default # back to the lead's pick
magpie codex subagent_effort low # their reasoning effort
magpie claude subagent deepseek/deepseek-chat # Claude Code's subagents
```
## Routing groups ## Routing groups
A group is several models an agent picks as one. `routing=order` tries them A group is several models an agent picks as one. `routing=order` tries them