Nous.Errors.MaxIterationsExceeded exception (nous v0.15.5)

View Source

Error 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

t()

@type t() :: %Nous.Errors.MaxIterationsExceeded{
  __exception__: true,
  max_iterations: pos_integer() | nil,
  message: String.t()
}