github / github/copilot-cli

Reasoning effort 'medium' is not supported for model 'claude-haiku-4.5'

Ouverte
#4,345 8 commentaires 4 réactions 1 personne assignée Voir sur GitHub

@stephentoub y travaille déjà.

Depuis le 14/8/2026.

area:agents area:models triage
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

Describe the bug

When both  copilot_cli_opus_medium_effort_default  and  copilot_cli_gpt_5_4_mini_for_explore  feature flags are active (assigned server-side), the CLI throws the following error repeatedly during sub-agent execution:

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

The  explore  and  task  built-in agents are defined with  model: claude-haiku-4.5  in  definitions/explore.agent.yaml  and  definitions/task.agent.yaml . The  copilot_cli_opus_medium_effort_default  flag applies  reasoning_effort: medium  globally — including to these sub-agents — before the  copilot_cli_gpt_5_4_mini_for_explore  swap has a chance to replace the model. As a result,  claude-haiku-4.5  receives a  reasoning_effort  value it does not support.

Affected version

1.0.77

Steps to reproduce the behavior
  1. Be assigned both flags:  copilot_cli_opus_medium_effort_default: true  and  copilot_cli_gpt_5_4_mini_for_explore: true  (visible in  config.json  under  expAssignmentsCache )
  2. Trigger any task that uses the  explore  or  task  sub-agent
  3. Observe the error in output
Expected behavior

Either the model swap happens before the reasoning effort is applied, or  reasoning_effort  is omitted for models that do not support it (as already fixed in main: "Allow reasoning effort to be omitted so the server can select the default").

Additional context

Platform:
Windows ( win32-x64 )

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.