refac
This commit is contained in:
1 parent
8d568cc8c5
commit
8ef0f7743b
1 file changed
+3
@@ -2723,6 +2723,9 @@ async def process_chat_response(
|
|||||||
|
|
||||||
# Emit pending tool calls in real-time
|
# Emit pending tool calls in real-time
|
||||||
if response_tool_calls:
|
if response_tool_calls:
|
||||||
|
# Flush any pending text first
|
||||||
|
await flush_pending_delta_data()
|
||||||
|
|
||||||
pending_content_blocks = content_blocks + [
|
pending_content_blocks = content_blocks + [
|
||||||
{
|
{
|
||||||
"type": "tool_calls",
|
"type": "tool_calls",
|
||||||
|
|||||||
Reference in new issue
Block a user