Fixed CI tool and upped tool call limit

This commit is contained in:
2025-06-02 19:35:41 -05:00
parent 7e4107522c
commit bd0ce3e340
2 changed files with 3 additions and 62 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ class OpenAICompatibleInferenceBot(BaseTelegramInferenceBot):
tool_calls_from_response = list(assistant_message.tool_calls) if assistant_message.tool_calls else []
tool_use_count = 0
MAX_TOOL_ITERATIONS = 5 # OpenAI compatible typically uses fewer iterations than Anthropic
MAX_TOOL_ITERATIONS = 200
while tool_calls_from_response and tool_use_count < MAX_TOOL_ITERATIONS:
tool_results_for_model = []