Custom agent with model: haiku fails with thinking error
Status Closed — duplicate
Maintainer reply None cached
Workaround ✓ Mentioned in description ↑
Activity 3 comments · opened Dec 2, 2025 · closed Dec 6, 2025
Bug Description
A custom agent configured with model: haiku failed with an API error related to thinking.
Error Message
API Error: 400 'claude-3-5-haiku-20241022' does not support thinking.
Agent Configuration
---
name: memory-updater
model: haiku
permissionMode: bypassPermissions
tools: Read, Write, Edit, Bash, Glob, Skill
---
Context
- Agent was spawned via Task tool
- User reported having extended thinking enabled
- Error occurred when the agent attempted to run
Expected Behavior
Agent should run without error when configured with model: haiku.
Workaround
Changing model: haiku to model: sonnet resolves the issue (but increases cost).
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗