Open History to see the last commit
Interface: StateSnapshotEvent#
Defined in: packages/typescript/ai/src/types.ts:1118
Emitted to provide a full state snapshot.
@ag-ui/core provides: snapshot (any)
TanStack AI adds: model?, state? (deprecated alias for snapshot)
Extends#
StateSnapshotEvent
Indexable#
[k: string]: unknown
Properties#
model?#
optional model: string;
Defined in: packages/typescript/ai/src/types.ts:1120
Model identifier for multi-model support
state?#
optional state: Record<string, unknown>;
Defined in: packages/typescript/ai/src/types.ts:1125
Deprecated#
Use snapshot instead (from @ag-ui/core spec).
Kept for backward compatibility.