mirror of
https://github.com/open-webui/open-webui
synced 2025-02-22 13:18:25 +00:00
format syntax
This commit is contained in:
parent
a1a1747cf9
commit
bb05c444a2
@ -451,7 +451,7 @@ async def handle_streaming_response(request: Request, response: Response,
|
|||||||
yield peek
|
yield peek
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# We reached a tool call we consume all the messages to assemble it
|
# We reached a tool call so we consume all the messages to assemble it
|
||||||
log.debug("async tool call detected")
|
log.debug("async tool call detected")
|
||||||
tool_calls = [] # id, name, arguments
|
tool_calls = [] # id, name, arguments
|
||||||
tool_calls.append({'id':'', 'type': 'function', 'function' : {'name':'', 'arguments':''}})
|
tool_calls.append({'id':'', 'type': 'function', 'function' : {'name':'', 'arguments':''}})
|
||||||
|
Loading…
Reference in New Issue
Block a user