github / github/copilot-cli

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

オープン
#4,473 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:agents area:models
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

レポートで説明されている、CLI の task/explore sub-agent ルーティングとモデル選択の経路から始めます。そこでは claude-haiku-4.5 が reasoning effort を受け取ります。モデルと effort の互換性がどのように処理されているかを確認してください。完了の条件は、通常の CLI 使用時に、そのモデルへ未サポートの medium 設定がディスパッチされなくなることです。該当するテスト箇所が見つかった場合は、回帰チェックも追加します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。