CompactionExecution
type CompactionExecution = object & | { status: "running";} | { interruptedSummary?: true; status: "completed"; summary: string;};Defined in: agents/src/types.ts:344
Type Declaration
Section titled “Type Declaration”beforeModel
Section titled “beforeModel”beforeModel: number;cut: number;id: string;model?
Section titled “model?”optional model?: ModelExecution;rejectedAttemptId?
Section titled “rejectedAttemptId?”optional rejectedAttemptId?: string;The turn attempt the provider refused before any chunk. A retry stays in that turn’s slot.
sourceCount
Section titled “sourceCount”sourceCount: number;Count and cut in the full conversation, not in the shortened model view.