Skip to content

[deleted] #2939

Closed
Closed

Description

@nicbstme

[deleted]

Activity

  1. added
    area:agents
    area:models
    on Apr 24, 2026
  2. added theissue type on Apr 24, 2026
  3. examon commented on Apr 24, 2026

    @examon

    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.

  4. spencerbk commented on May 3, 2026

    @spencerbk

    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)

    Custom agent on disk:

    ---
    name: micropython-analyst
    model: claude-opus-4.7-xhigh
    ---

    Direct test:

    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.

    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 the effort side).

    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).

  5. changed the title [-][Feature Request] Allow subagents to override model (parity with Claude Agent SDK)[/-] [+][deleted][/+] on Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agentsarea:models

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions