Skip to content

task tool sets reasoning_effort: low which is incompatible with gpt-5.2-codex #729

Closed

Description

@jamshedd

Problem

When spawning a sub-agent via the task tool with model: "gpt-5.2-codex", the platform injects reasoning_effort: low which is unsupported by that model. The agent fails immediately without executing any work.

Error

CAPIError: 400 Unsupported value: 'low' is not supported with the 'gpt-5.2-codex' model. Supported values are: 'medium'.

Reproduction

  1. Configure a Squad agent with gpt-5.2-codex as a persistent model override in .squad/config.json:
    {
      "agentModelOverrides": {
        "lambert": "gpt-5.2-codex"
      }
    }
  2. Spawn that agent via the task tool:
    task(agent_type: "general-purpose", model: "gpt-5.2-codex", mode: "background", ...)
    
  3. Agent fails with the error above. Zero turns executed.

Root Cause

The task tool does not expose a reasoning_effort parameter. The platform appears to default sub-agent spawns to reasoning_effort: low. The gpt-5.2-codex model only supports medium, causing an immediate 400 error.

Expected Behavior

One of:

  • The task tool should accept an optional reasoning_effort parameter so the caller can set it per-spawn
  • The platform should detect model-supported values and auto-select a compatible default (e.g., medium for gpt-5.2-codex)
  • At minimum, the platform should not send an unsupported reasoning_effort value to models that reject it

Environment

  • Copilot CLI: v1.0.15
  • OS: Windows
  • Session model: claude-opus-4.6-1m
  • Sub-agent model: gpt-5.2-codex

Activity

  1. added
    bugSomething isn't working
    squadSquad triage inbox — Lead will assign to a member
    on Apr 8, 2026
  2. github-actions commented on Apr 8, 2026

    @github-actions
    Contributor

    🏗️ Squad Triage — Flight (Lead)

    Issue: #729 — task tool sets reasoning_effort: low which is incompatible with gpt-5.2-codex
    Assigned to: Flight (Lead)
    Reason: No specific domain match — assigned to Lead for further analysis

    @copilot evaluation: No strong capability match — routed to squad member.

    Team roster:

    • Flight (Lead) → label: squad:flight
    • Procedures (Prompt Engineer) → label: squad:procedures
    • EECOM (Core Dev) → label: squad:eecom
    • FIDO (Quality Owner) → label: squad:fido
    • PAO (DevRel) → label: squad:pao
    • CAPCOM (SDK Expert) → label: squad:capcom
    • CONTROL (TypeScript Engineer) → label: squad:control
    • Surgeon (Release Manager) → label: squad:surgeon
    • Booster (CI/CD Engineer) → label: squad:booster
    • GNC (Node.js Runtime) → label: squad:gnc
    • Network (Distribution) → label: squad:network
    • RETRO (Security) → label: squad:retro
    • INCO (CLI UX & Visual Design) → label: squad:inco
    • GUIDO (VS Code Extension) → label: squad:guido
    • Telemetry (Aspire & Observability) → label: squad:telemetry
    • VOX (REPL & Interactive Shell) → label: squad:vox
    • DSKY (TUI Engineer) → label: squad:dsky
    • Sims (E2E Test Engineer) → label: squad:sims
    • Handbook (SDK Usability) → label: squad:handbook
    • Ralph (Work Monitor) → label: squad:ralph
    • @copilot (Coding Agent) → label: squad:copilot

    To reassign, remove the current squad:* label and add the correct one.

  3. bradygaster commented on May 18, 2026

    @bradygaster
    Collaborator

    Closing — this is a Copilot platform behavior (platform injects reasoning_effort on sub-agent spawns, not Squad). gpt-5.2-codex is superseded by gpt-5.3-codex in our model table. If the platform adds an effort parameter to the task tool in the future, we can revisit.

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

    bugSomething isn't workinggo:needs-researchNeeds investigationsquadSquad triage inbox — Lead will assign to a member

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions