RepeatUntil

data class RepeatUntil(val maxIterations: Int = 3)

Primitive for building repeat until workflows.

Constructors

Link copied to clipboard
constructor(maxIterations: Int = 3)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
inline fun <INPUT, RESULT : Any> build(noinline task: (RepeatUntilActionContext<INPUT, RESULT>) -> RESULT, noinline acceptanceCriteria: (RepeatUntilActionContext<INPUT, RESULT>) -> Boolean, inputClass: Class<INPUT>): AgentScopeBuilder<RESULT>