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

ThinkingStreamChunk.md

88 lines1.6 KB

1---
2id: ThinkingStreamChunk
3title: ThinkingStreamChunk
4---
5​
6# Interface: ThinkingStreamChunk
7​
8Defined in: [types.ts:710](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L710)
9​
10## Extends
11​
12- [`BaseStreamChunk`](BaseStreamChunk.md)
13​
14## Properties
15​
16### content
17​
18```ts
19content: string;
20```
21​
22Defined in: [types.ts:713](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L713)
23​
24***
25​
26### delta?
27​
28```ts
29optional delta: string;
30```
31​
32Defined in: [types.ts:712](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L712)
33​
34***
35​
36### id
37​
38```ts
39id: string;
40```
41​
42Defined in: [types.ts:643](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L643)
43​
44#### Inherited from
45​
46[`BaseStreamChunk`](BaseStreamChunk.md).[`id`](BaseStreamChunk.md#id)
47​
48***
49​
50### model
51​
52```ts
53model: string;
54```
55​
56Defined in: [types.ts:644](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L644)
57​
58#### Inherited from
59​
60[`BaseStreamChunk`](BaseStreamChunk.md).[`model`](BaseStreamChunk.md#model)
61​
62***
63​
64### timestamp
65​
66```ts
67timestamp: number;
68```
69​
70Defined in: [types.ts:645](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L645)
71​
72#### Inherited from
73​
74[`BaseStreamChunk`](BaseStreamChunk.md).[`timestamp`](BaseStreamChunk.md#timestamp)
75​
76***
77​
78### type
79​
80```ts
81type: "thinking";
82```
83​
84Defined in: [types.ts:711](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L711)
85​
86#### Overrides
87​
88[`BaseStreamChunk`](BaseStreamChunk.md).[`type`](BaseStreamChunk.md#type)