Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

SessionIdEvent.md

87 lines1.1 KB

Defined in: packages/ai/src/types.ts:1829

Custom event for extensibility.

@ag-ui/core provides: name, value, subagentRunId?

Extends

Properties

metadata?

optional metadata?: Record<string, any>;

Defined in: packages/ai/src/types.ts:1756

Extra information attached to this event.

Inherited from

CustomEvent.metadata


name

name: `${string}.session-id`;

Defined in: packages/ai/src/types.ts:1830

What this custom event is. Required: without it a consumer cannot route the value.

Overrides

CustomEvent.name

type

type: "CUSTOM";

Defined in: packages/ai/src/types.ts:1755

Inherited from

CustomEvent.type


value

value: object;

Defined in: packages/ai/src/types.ts:1831

The payload. Any JSON value, and required.

sessionId

sessionId: string;

Overrides

CustomEvent.value