maxIterations

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

Sets the maximum number of iterations for the builder.

Return

The current instance of the

Parameters

maxIterations

The maximum number of iterations to be used. Must be a positive integer.