github / github/copilot-cli

claude-haiku-4.5 sub-agent fails with reasoning effort 'medium' not supported

Open
#4,473 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area:agents area:models
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

Bug Report

Description

When the CLI internally routes sub-agent tasks to claude-haiku-4.5, it applies a medium reasoning effort, which is not supported by that model. This causes the following error:

Execution failed: Error: Reasoning effort 'medium' is not supported for model 'claude-haiku-4.5'
Steps to Reproduce

The error occurs during normal CLI usage when the task/explore sub-agent system selects claude-haiku-4.5 as the model with medium reasoning effort applied.

Expected Behavior

The CLI should not assign a reasoning effort level that is incompatible with the selected model. Either:

  • Do not set reasoning effort for models that don't support it (e.g., claude-haiku-4.5)
  • Map medium to a compatible default for claude-haiku-4.5
  • Validate model/reasoning-effort compatibility before dispatch
Environment
  • CLI Version: 1.0.79
  • Model (main session): gpt-5.4
  • Failing sub-agent model: claude-haiku-4.5
  • OS: Linux

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the CLI's task/explore sub-agent routing and model-selection path described in the report, where claude-haiku-4.5 receives the reasoning effort. Check how model and effort compatibility is handled; done means normal CLI usage no longer dispatches an unsupported medium setting for that model, with a regression check if the relevant test location is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.