Premature Execution Stop Decision
data class PrematureExecutionStopDecision(val conditionMet: Boolean, val conditionMetReason: () -> String)
Outcome of an early-stop check, e.g. the earlyStop callback of ai.koog.agents.optimization.training.dsl.StageScope.iterateDataset.
Properties
Link copied to clipboard
true when execution should stop before processing the next item.
Link copied to clipboard
Lazily evaluated human-readable reason, logged only when conditionMet is true.