Skip to main content

Interface: AIBatchCancelResult

Defined in: packages/workflow-engine/src/ai/types.ts:697

What AIBatch.cancel did to one provider batch of a handle.

Properties​

outcome​

outcome: "cancelled" | "already-terminal" | "unsupported"

Defined in: packages/workflow-engine/src/ai/types.ts:704

"cancelled": the provider has the batch cancelling or cancelled. "already-terminal": it had ended on its own; nothing was cancelled. "unsupported": the transport has no cancel call (OpenRouter).


ref​

ref: EngineBatchRef

Defined in: packages/workflow-engine/src/ai/types.ts:698