Removed unnecessary awaits

This commit is contained in:
2025-06-02 15:23:20 -05:00
parent c6c8e3ce37
commit 0eed64cbb3
4 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -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 = []