Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/core / / AgentCancellingEvent
Interface: AgentCancellingEvent
Defined in: packages/core/src/types/agent-event.ts:285
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:288 |
onPendingApprovals | readonly | "deny" | "hold" | "fail" | packages/core/src/types/agent-event.ts:289 |
runId | readonly | string | packages/core/src/types/agent-event.ts:287 |
type | readonly | "agent.cancelling" | packages/core/src/types/agent-event.ts:286 |