Find answers from the community

Updated 2 months ago

I’m using llama index at the moment, and

I’m using llama index at the moment, and when using reAct while chatting with the api, sometimes I get a max iterations error. Is there any easy way to increase the iterations without forking? Or is there any other way around this?
L
1 comment
theres a param in the constructor (the default is 10, usually if it hits this that might mean the agent is stuck)

Plain Text
ReActAgent.from_tools(..., max_iterations=10)
Add a reply
Sign up and join the conversation on Discord