mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-25 05:07:05 +00:00
Claude Code stores thinking with an empty body when the content is not displayed. Each one became an agent-reasoning block that rendered nothing but still sat between tool calls, so consecutive tools no longer counted as adjacent and stayed ungrouped. Skip creating a reasoning block for blank text. A streamed reasoning block is still created once its first non-empty snapshot arrives. via [HAPI](https://hapi.run) Co-Authored-By: HAPI <noreply@hapi.run> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>