Find answers from the community

Updated 2 months ago

is there a way to get rid of max

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