Removed unnecessary awaits
This commit is contained in:
@@ -63,7 +63,7 @@ class OpenAICompatibleInferenceBot(BaseTelegramInferenceBot):
|
||||
tool_calls_from_response.extend(response.choices[0].message.tool_calls)
|
||||
|
||||
tool_use_count = 0
|
||||
MAX_TOOL_ITERATIONS = 5
|
||||
MAX_TOOL_ITERATIONS = 200
|
||||
|
||||
while tool_calls_from_response and tool_use_count < MAX_TOOL_ITERATIONS:
|
||||
tool_results_for_model = []
|
||||
|
||||
Reference in New Issue
Block a user