mirror of https://github.com/hwchase17/langchain
Upper bound on number of iterations (#754)
Some custom agents might continue to iterate until they find the correct answer, getting stuck on loops that generate request after request and are really expensive for the end user. Putting an upper bound for the number of iterations by default controls this and can be explicitly tweaked by the user if necessary. Co-authored-by: Francisco Ingham <>pull/757/head
parent
28efbb05bf
commit
374e510f94
Loading…
Reference in New Issue