AIAgentMaxNumberOfIterationsReachedException
class AIAgentMaxNumberOfIterationsReachedException(maxNumberOfIterations: Int) : AIAgentException(source)
Exception thrown when an agent exceeds the maximum allowed number of iterations during execution.
This exception indicates that the agent could not complete its task within the specified number of steps, as defined by the maxAgentIterations parameter in the agent's configuration. To resolve this, consider increasing the value of maxAgentIterations to accommodate more iterations for the agent's task completion.
Parameters
maxNumberOfIterations
The maximum number of iterations allowed for the agent before the exception is triggered.
Constructors
Properties
Functions
Link copied to clipboard
Converts a Throwable instance to an AIAgentError.