This commit is contained in:
Timothy Jaeryang Baek
2026-01-05 23:13:05 +04:00
parent 8d568cc8c5
commit 8ef0f7743b

View File

@@ -2723,6 +2723,9 @@ async def process_chat_response(
# Emit pending tool calls in real-time
if response_tool_calls:
# Flush any pending text first
await flush_pending_delta_data()
pending_content_blocks = content_blocks + [
{
"type": "tool_calls",