Type Alias: AgentRehearsalEvent
@kortexya/reasoninglayer / AgentRehearsalEvent
Type Alias: AgentRehearsalEvent
Section titled “Type Alias: AgentRehearsalEvent”AgentRehearsalEvent = {
delta:string;type:"token"; } | {rehearsal:AgentRehearsalView;type:"done"; } | {error:string;status?:number;type:"error"; }
Defined in: src/types/agent-instructions.ts:64
One event of an instructions rehearsal stream.
Remarks
Section titled “Remarks”Discriminated on type: token (an answer delta), done (the
saved receipt and the answer), error (with the HTTP status it stands for,
when the engine names one).