maxIterations

abstract fun maxIterations(maxIterations: Int): AIAgentServiceBuilderAPI(source)

Sets the maximum number of iterations for the AI agent's process.

Return

the updated instance of AIAgentServiceBuilder

Parameters

maxIterations

the maximum number of iterations to be performed