UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

16 lines (15 loc) 809 B
import { type ContextContainer } from "#context/container.js"; import type { DurableStepResult } from "#execution/next-driver-action.js"; import type { HarnessSession, StepInput, StepResult } from "#harness/types.js"; export interface CompletedModelCallCheckpoint { readonly result: StepResult; readonly serializedContext: Record<string, unknown>; } /** Builds the successful step result that commits a cancelled batch's completed model calls. */ export declare function createCancelledModelCallBatchResult(input: { readonly beforeBatchContext: Record<string, unknown>; readonly checkpoint: CompletedModelCallCheckpoint | undefined; readonly ctx: ContextContainer; readonly initialSession: HarnessSession; readonly stepInput: StepInput | undefined; }): Promise<DurableStepResult>;