chore: remove agent turn limits (#19930)
This commit is contained in:
parent
9bbd646f40
commit
b2ab401279
9 changed files with 11 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue