mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
89e7a61a69
The auxiliary message filtering introduced in #2892 incorrectly drops tool_calls messages when there is an active stream or a tombstone from a recently finished stream. This causes tool_calls to not be delivered to the UI when users make consecutive requests, as the second request's tool_calls message arrives while the first request's stream is still active or within the 30-second tombstone window. The fix excludes tool_calls from auxiliary message filtering, since they represent new tool invocations that must be delivered to the UI, not stale auxiliary content like feedback or thoughts. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>