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

BaseStreamChunk.md

59 lines1.2 KB

1---
2id: BaseStreamChunk
3title: BaseStreamChunk
4---
5​
6# Interface: BaseStreamChunk
7​
8Defined in: [types.ts:641](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L641)
9​
10## Extended by
11​
12- [`ContentStreamChunk`](ContentStreamChunk.md)
13- [`ToolCallStreamChunk`](ToolCallStreamChunk.md)
14- [`ToolResultStreamChunk`](ToolResultStreamChunk.md)
15- [`DoneStreamChunk`](DoneStreamChunk.md)
16- [`ErrorStreamChunk`](ErrorStreamChunk.md)
17- [`ApprovalRequestedStreamChunk`](ApprovalRequestedStreamChunk.md)
18- [`ToolInputAvailableStreamChunk`](ToolInputAvailableStreamChunk.md)
19- [`ThinkingStreamChunk`](ThinkingStreamChunk.md)
20​
21## Properties
22​
23### id
24​
25```ts
26id: string;
27```
28​
29Defined in: [types.ts:643](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L643)
30​
31***
32​
33### model
34​
35```ts
36model: string;
37```
38​
39Defined in: [types.ts:644](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L644)
40​
41***
42​
43### timestamp
44​
45```ts
46timestamp: number;
47```
48​
49Defined in: [types.ts:645](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L645)
50​
51***
52​
53### type
54​
55```ts
56type: StreamChunkType;
57```
58​
59Defined in: [types.ts:642](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L642)