|
@@ -1810,7 +1810,7 @@ async def process_chat_response(
|
|
|
|
|
|
await stream_body_handler(response)
|
|
await stream_body_handler(response)
|
|
|
|
|
|
- MAX_TOOL_CALL_RETRIES = 5
|
|
|
|
|
|
+ MAX_TOOL_CALL_RETRIES = 10
|
|
tool_call_retries = 0
|
|
tool_call_retries = 0
|
|
|
|
|
|
while len(tool_calls) > 0 and tool_call_retries < MAX_TOOL_CALL_RETRIES:
|
|
while len(tool_calls) > 0 and tool_call_retries < MAX_TOOL_CALL_RETRIES:
|