maxAgentIterations
fun maxAgentIterations(maxAgentIterations: Int): AIAgentConfig.Companion.AIAgentConfigBuilder(source)
Sets the maximum number of iterations allowed for the AI agent during its execution.
Return
The current instance of AIAgentConfigBuilder to allow for method chaining.
Parameters
maxAgentIterations
The maximum number of iterations to be configured for the AI agent.