mirror of
https://github.com/open-webui/open-webui.git
synced 2026-02-24 12:11:56 +01:00
refac
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user