RetryFeedback
Defined in: packages/engine/src/lib/planner/stage.ts:154
Why the previous attempt of a withRetry-wrapped stage was rejected. Present only on retries.
Type Parameters
Section titled “Type Parameters”Candidate
Section titled “Candidate”Candidate extends ReplylessCandidate = PlannerCandidate
What the wrapped stage produces as a candidate:
PlannerCandidate by default, or ReplylessCandidate for a
stage that may omit userMessage or ask for clarification.
Properties
Section titled “Properties”attempt
Section titled “attempt”
readonlyattempt:number
Defined in: packages/engine/src/lib/planner/stage.ts:158
Retry number: 1 for the first retry.
diagnostics
Section titled “diagnostics”
readonlydiagnostics:EngineDiagnostics
Defined in: packages/engine/src/lib/planner/stage.ts:162
Heal diagnostics for previous, which recommended the retry.
previous
Section titled “previous”
readonlyprevious:Candidate
Defined in: packages/engine/src/lib/planner/stage.ts:160
The candidate the previous attempt produced. Build a new candidate rather than editing it.