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

BaseAGUIEvent.md

36 lines704 Bytes

1---
2id: BaseAGUIEvent
3title: BaseAGUIEvent
4---
5​
6# Interface: BaseAGUIEvent
7​
8Defined in: [packages/typescript/ai/src/types.ts:890](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L890)
9​
10Base structure for AG-UI events.
11Extends @ag-ui/core BaseEvent with TanStack AI additions.
12​
13@ag-ui/core provides: `type`, `timestamp?`, `rawEvent?`
14TanStack AI adds: `model?`
15​
16## Extends
17​
18- `BaseEvent`
19​
20## Indexable
21​
22```ts
23[k: string]: unknown
24```
25​
26## Properties
27​
28### model?
29​
30```ts
31optional model: string;
32```
33​
34Defined in: [packages/typescript/ai/src/types.ts:892](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L892)
35​
36Model identifier for multi-model support