Find answers from the community

Updated 4 months ago

is there a way to get rid of max

At a glance

The community member is asking how to get rid of or increase the "max iterations" setting, which is the maximum number of tool calls the system can make. The comments suggest that the "max iterations" setting cannot be turned off, but it can be increased if needed. One community member notes that if the number of iterations goes over 10, it may indicate an issue with the system or a unique use case that requires increasing the limit.

Useful resources
is there a way to get rid of max iterations I tried setting it to large number and setting it to false still nothing also had a system prompt?
L
L
12 comments
There is already a system prompt -- it has all the react instructions
You can edit this giant prompt. Or you can provide extra context in it

ReActAgent.from_tools(..., context="extra context/instruction")
can you link me to where all the params where ReActAgent.from_tools.() are?
anyway I can turn off max iteractions?
can only increase it
If you are going over 10 though, tbh something might be wrong
what is the meaning of max iterations?
Max number of react iterations (i.e. tool calls essentially)
If it takes more than 10 tool calls to solve something, the LLM is probably stuck or you have a unique use-case and should increase it
gotcha, yeah in my case its possible if my go over 10 sometimes
Add a reply
Sign up and join the conversation on Discord