Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/core / / AgentCancellingEvent
Interface: AgentCancellingEvent
Defined in: packages/core/src/types/agent-event.ts:354
Emitted at the moment agent.abort({ ... }) is called, before any pending tool / provider calls have terminated. Subscribers use this to render "cancelling..." UI before the run actually winds down.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
drain | readonly | boolean | packages/core/src/types/agent-event.ts:357 |
onPendingApprovals | readonly | "deny" | "hold" | "fail" | packages/core/src/types/agent-event.ts:358 |
runId | readonly | string | packages/core/src/types/agent-event.ts:356 |
type | readonly | "agent.cancelling" | packages/core/src/types/agent-event.ts:355 |