Defined in: packages/ai/src/types.ts:1547
Custom event for extensibility.
@ag-ui/core provides: name, value, subagentRunId?
optional metadata?: Record<string, any>;Defined in: packages/ai/src/types.ts:1416
Extra information attached to this event.
name: "code_mode:external_call";Defined in: packages/ai/src/types.ts:1548
What this custom event is. Required: without it a consumer cannot route the value.
CustomEvent.nametype: "CUSTOM";Defined in: packages/ai/src/types.ts:1415
value: object;Defined in: packages/ai/src/types.ts:1549
The payload. Any JSON value, and required.
args: unknown;function: string;timestamp: number;CustomEvent.value