mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-07 08:27:05 +00:00
refac
This commit is contained in:
parent
78f856e204
commit
90a057f400
1 changed files with 2 additions and 0 deletions
|
|
@ -2597,6 +2597,8 @@ async def process_chat_response(
|
|||
"call_id": result.get("tool_call_id", ""),
|
||||
"output": [{"type": "input_text", "text": result.get("content", "")}],
|
||||
"status": "completed",
|
||||
**({"files": result.get("files")} if result.get("files") else {}),
|
||||
**({"embeds": result.get("embeds")} if result.get("embeds") else {}),
|
||||
})
|
||||
|
||||
elif block_type == "reasoning":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue