Skip to content

Interface: LoopEvaluatePhaseResult<TOut> ​

Defined in: runtime/loop/loop-evaluate-phase-result.ts:8

Outcome returned by runLoopEvaluatePhase() after executing the evaluator agent on an .act() output (SPEC.md §3.8).

Indicates whether the iteration was accepted (accepted: true) or rejected with feedback (accepted: false).

Type Parameters ​

Type ParameterDefault typeDescription
TOutunknownValidated .act() and loop output payload type.

Properties ​

PropertyModifierTypeDescriptionDefined in
acceptedreadonlybooleanTrue when evaluateStep.acceptWhen(evalOut) returned true.runtime/loop/loop-evaluate-phase-result.ts:10
actOutputreadonlyTOutValidated .act() output accepted or rejected in this iteration.runtime/loop/loop-evaluate-phase-result.ts:12
evaluatorOutputreadonlyunknownRaw evaluator output payload.runtime/loop/loop-evaluate-phase-result.ts:16
feedback?readonlystringRejection feedback string produced by evaluateStep.feedbackMapper(evalOut) when accepted is false.runtime/loop/loop-evaluate-phase-result.ts:14

Released under the MIT License.