mirror of
https://github.com/open-webui/open-webui
synced 2025-04-04 04:51:27 +00:00
refac
This commit is contained in:
parent
faa68fcdaa
commit
911321878f
@ -1810,7 +1810,7 @@ async def process_chat_response(
|
||||
|
||||
await stream_body_handler(response)
|
||||
|
||||
MAX_TOOL_CALL_RETRIES = 5
|
||||
MAX_TOOL_CALL_RETRIES = 10
|
||||
tool_call_retries = 0
|
||||
|
||||
while len(tool_calls) > 0 and tool_call_retries < MAX_TOOL_CALL_RETRIES:
|
||||
|
Loading…
Reference in New Issue
Block a user