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

RunStartedEvent.md

36 lines715 Bytes

1---
2id: RunStartedEvent
3title: RunStartedEvent
4---
5​
6# Interface: RunStartedEvent
7​
8Defined in: [packages/typescript/ai/src/types.ts:906](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L906)
9​
10Emitted when a run starts.
11This is the first event in any streaming response.
12​
13@ag-ui/core provides: `threadId`, `runId`, `parentRunId?`, `input?`
14TanStack AI adds: `model?`
15​
16## Extends
17​
18- `RunStartedEvent`
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:908](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L908)
35​
36Model identifier for multi-model support