[BUG] Haiku + thinking mode=true causes stream idle timeout (silent hang, not 400 error) on WSL2
Resolved 💬 1 comment Opened Apr 19, 2026 by bibourokushi Closed May 26, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
環境
- Claude Code v2.1.114
- WSL2 Ubuntu
- Model: Haiku
- Thinking mode: true(/configで設定)
症状
400エラーではなく、1時間ちょうどでstream idle timeoutが発生。トークンが一切流れてこないsilent hangになる。
再現手順
- /configでthinking mode: trueに設定
- Modelをhaikuに設定
- コード生成タスクを投げる
- 1時間後にAPI Error: Stream idle timeout - partial response receivedで終了
修正
/configでthinking mode: falseに変更 → 即座に解決
既存issueとの違い
#11388は400エラーだが、今回はsilent hangになる点が異なる。Haikuがthinkingをサポートしないにもかかわらず、エラーを返さずにタイムアウトまで待ち続ける動作になっている。
What Should Happen?
Haikuはthinkingをサポートしていない。Claude Codeは以下のいずれかの動作をすべき:
- 即座に400エラーを返す(issue #11388と同様)
- Haikuが選択された場合、自動的にthinking modeを無効にする
現状は1時間のstream idle timeoutまでsilent hangが続く。
Error Messages/Logs
Steps to Reproduce
- /config で Model を Haiku に設定
- /config で Thinking mode を true に設定
- コード生成タスクを投げる(例:「このコードをVLEN=8でvectorizeして」)
- トークンが一切流れてこないまま1時間経過
- API Error: Stream idle timeout - partial response received で終了
Note: CLAUDE_STREAM_IDLE_TIMEOUT_MS=3600000 を設定していたため1時間でタイムアウト。
デフォルト(90秒)では90秒で発生すると思われる。
Claude Model
Other
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.114 (Claude Code)
Platform
Other
Operating System
Ubuntu/Debian Linux
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗