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

StateDeltaEvent.md

35 lines681 Bytes

1---
2id: StateDeltaEvent
3title: StateDeltaEvent
4---
5​
6# Interface: StateDeltaEvent
7​
8Defined in: [packages/typescript/ai/src/types.ts:1134](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1134)
9​
10Emitted to provide an incremental state update.
11​
12@ag-ui/core provides: `delta` (any[] - JSON Patch RFC 6902)
13TanStack AI adds: `model?`
14​
15## Extends
16​
17- `StateDeltaEvent`
18​
19## Indexable
20​
21```ts
22[k: string]: unknown
23```
24​
25## Properties
26​
27### model?
28​
29```ts
30optional model: string;
31```
32​
33Defined in: [packages/typescript/ai/src/types.ts:1136](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1136)
34​
35Model identifier for multi-model support