Custom agent with model: haiku fails with thinking error
Resolved 💬 3 comments Opened Dec 2, 2025 by severity1 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 ↗