format syntax

This commit is contained in:
Samuel 2024-11-18 19:38:59 +00:00
parent a1a1747cf9
commit bb05c444a2

View File

@ -451,7 +451,7 @@ async def handle_streaming_response(request: Request, response: Response,
yield peek
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")
tool_calls = [] # id, name, arguments
tool_calls.append({'id':'', 'type': 'function', 'function' : {'name':'', 'arguments':''}})