maxIterations

Sets the maximum number of iterations for the planner agent.

Return

The updated instance of the PlannerAgentBuilder with the specified maximum iterations.

Parameters

maxIterations

The maximum number of iterations the agent is allowed to perform.