claude-haiku-4.5 sub-agent fails with reasoning effort 'medium' not supported
Nobody has claimed this yet.
- 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
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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