Interface: EngineBatchCancelResult
Defined in: packages/workflow-engine/src/ai/batch/model.ts:115
What a transport found and did when asked to cancel a batch.
"cancelled": the provider now has the batch cancelling or cancelled. The transport sent the cancel, or found the batch already cancelling or cancelled. Cancelling is asynchronous at the providers: requests already executing may still finish and be billed, and partial results may remain."already-terminal": the batch had ended on its own (completed, failed or expired) before the cancel; nothing was cancelled and its results stay at the provider.
Properties
outcome
outcome:
"cancelled"|"already-terminal"
Defined in: packages/workflow-engine/src/ai/batch/model.ts:116
rawStatus?
optionalrawStatus?:string
Defined in: packages/workflow-engine/src/ai/batch/model.ts:118
The provider's own status for the batch, as read before the cancel.