claude-haiku-4.5 sub-agent fails with reasoning effort 'medium' not supported
未关闭
还没有人认领这个 Issue。
area:agents
area:models
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 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
mediumto a compatible default forclaude-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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从报告中描述的 CLI 的 task/explore 子代理路由和模型选择路径开始,其中 claude-haiku-4.5 接收 reasoning effort。检查模型与 effort 的兼容性是如何处理的;完成的标准是,正常使用 CLI 时不再为该模型分发不受支持的 medium 设置;如果找到相关测试位置,还应加入回归检查。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100