Interface: LoopEvaluateStepConfig<TIn, TOut, THandle, TReceipt, TEvalOut>
Defined in: ast/loop-node.ts:41
Evaluation step descriptor (evaluateStep) inside a LoopNode.
Runs the read-only evaluator agent over mapInput(loopInput, actOutput, scopeReceipt) and either accepts the iteration via acceptWhen or formats rejection feedback via feedbackMapper.
Type Parameters
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
acceptWhen | readonly | BivariantCallback<[evalOut: TEvalOut], boolean> | Predicate returning true when the evaluator accepts the action step's output. | ast/loop-node.ts:58 |
evaluator | readonly | AgentNode<unknown, TEvalOut, THandle> | Adversarial or read-only evaluator agent invoked after .act() passes beforeStop. | ast/loop-node.ts:51 |
feedbackMapper | readonly | BivariantCallback<[evalOut: TEvalOut], string> | Synchronous formatter producing the rejection feedback string injected into the next .act() iteration. | ast/loop-node.ts:60 |
mapInput | readonly | BivariantCallback<[loopInput: TIn, actOutput: TOut, scopeReceipt: TReceipt], unknown> | Synchronous mapper constructing the evaluator's input from (loopInput, actOutput, scopeReceipt). | ast/loop-node.ts:53 |
stepId | readonly | string | Step identifier registered via .evaluate(stepId, evaluator, ...). | ast/loop-node.ts:49 |