crewAI-examples icon indicating copy to clipboard operation
crewAI-examples copied to clipboard

How to increase agent max iteration limit

Open matsuobasho opened this issue 2 years ago • 1 comments

I was running the trip planner with a local LM and got the following output:

> Finished chain.
Task output: Agent stopped due to max iterations.


########################
## Here is you Trip Plan
########################

Agent stopped due to max iterations.

Where can I increase the threshold for the max iterations?

matsuobasho avatar Jan 04 '24 23:01 matsuobasho

Same problem

MindsightsAI avatar Jan 09 '24 02:01 MindsightsAI

If you haven't solved it yet, could you please create an issue at https://github.com/joaomdmoura/crewAI/issues? Let's focus on addressing issues there.

Biancamazzi avatar Jan 17 '24 21:01 Biancamazzi

Yes, this has been resolved in this issue (https://github.com/joaomdmoura/crewAI/issues/65) and is part of release 0.1.32. Thanks

matsuobasho avatar Jan 17 '24 22:01 matsuobasho