chore: remove agent turn limits (#19930)

This commit is contained in:
Novice
2025-05-29 09:51:56 +08:00
committed by GitHub
parent 9bbd646f40
commit b2ab401279
9 changed files with 11 additions and 11 deletions

View File

@@ -48,7 +48,7 @@ class FunctionCallAgentRunner(BaseAgentRunner):
assert app_config.agent
iteration_step = 1
max_iteration_steps = min(app_config.agent.max_iteration, 5) + 1
max_iteration_steps = min(app_config.agent.max_iteration, 99) + 1
# continue to run until there is not any tool call
function_call_state = True