You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is partially supported today. Custom subagents defined via YAML can set a per-agent model: field in their frontmatter (accepting both aliases and full model IDs), and it falls back to the session model when omitted. The SDK CustomAgentConfig type doesn't yet expose model and per-subagent BYOK provider overrides aren't wired up, so the SDK-side parity gap is real. If you'd like to track those remaining pieces separately, please comment and we can take another look.
Reopening request — the closing comment states that custom subagents' YAML model: frontmatter is "partially supported," but on Copilot CLI v1.0.40 (2026-05-01) the task / agent dispatch path does not honor it for inference, nor does it honor an explicit model: argument passed on the task invocation.
Reproduction (v1.0.40, Windows 11, parent session model gpt-5.5)
Use the task tool to launch micropython-analyst as a sub-agent with
model="claude-opus-4.7-xhigh" and ask it to summarize the project structure.
Observed runtime badge: Micropython-analyst(gpt-5.5) — the parent session's model. Neither the deployed frontmatter nor the explicit model: argument was honored. The v1.0.40 release note "Subagents correctly evaluate tool search support for their own model" confirms the sub-agent has its own model record for capability evaluation, but the inference call still routes to the parent's model.
Could you confirm whether (a) the task dispatch path is in scope for the "partially supported" claim, and (b) whether per-launch model: arguments on the task tool are intended to be honored? If neither, the public docs at /copilot/how-tos/use-copilot-agents/cloud-agent/create-custom-agents would benefit from explicitly noting that CLI does not yet honor model: for task dispatch (currently it lists VS Code/JetBrains/Eclipse/Xcode as the supported scope, omitting CLI without further clarification).
Activity
examon commentedon Apr 24, 2026
This is partially supported today. Custom subagents defined via YAML can set a per-agent
model:field in their frontmatter (accepting both aliases and full model IDs), and it falls back to the session model when omitted. The SDKCustomAgentConfigtype doesn't yet exposemodeland per-subagent BYOK provider overrides aren't wired up, so the SDK-side parity gap is real. If you'd like to track those remaining pieces separately, please comment and we can take another look.spencerbk commentedon May 3, 2026
Reopening request — the closing comment states that custom subagents' YAML
model:frontmatter is "partially supported," but on Copilot CLI v1.0.40 (2026-05-01) thetask/agentdispatch path does not honor it for inference, nor does it honor an explicitmodel:argument passed on thetaskinvocation.Reproduction (v1.0.40, Windows 11, parent session model
gpt-5.5)Custom agent on disk:
Direct test:
Observed runtime badge:
Micropython-analyst(gpt-5.5)— the parent session's model. Neither the deployed frontmatter nor the explicitmodel:argument was honored. The v1.0.40 release note "Subagents correctly evaluate tool search support for their own model" confirms the sub-agent has its own model record for capability evaluation, but the inference call still routes to the parent's model.Full reproduction including a second skill-driven case at: https://github.com/spencerbk/copilot-config/blob/dev/docs/incidents/2026-05-02-copilot-cli-subagent-model-ignored.md. Workaround commit:
dc9af0c. Related:#1354(open),github/copilot-sdk#1131(open — same architectural gap on theeffortside).Could you confirm whether (a) the
taskdispatch path is in scope for the "partially supported" claim, and (b) whether per-launchmodel:arguments on thetasktool are intended to be honored? If neither, the public docs at /copilot/how-tos/use-copilot-agents/cloud-agent/create-custom-agents would benefit from explicitly noting that CLI does not yet honormodel:fortaskdispatch (currently it lists VS Code/JetBrains/Eclipse/Xcode as the supported scope, omitting CLI without further clarification).[-][Feature Request] Allow subagents to override model (parity with Claude Agent SDK)[/-][+][deleted][/+]Pin model tiers on the levelled coding agents