Nous.Errors.MaxIterationsExceeded exception (nous v0.16.2)
View SourceError when agent loop exceeds maximum iterations.
Raised when an agent makes too many back-and-forth calls with the model, possibly indicating an infinite loop.
Summary
Types
@type t() :: %Nous.Errors.MaxIterationsExceeded{ __exception__: true, max_iterations: pos_integer() | nil, message: String.t() }