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

ChatResult.md

32 lines468 Bytes

1---
2id: ChatResult
3title: ChatResult
4---
5​
6Defined in: packages/ai/src/stream-to-response.ts:33
7​
8The result of a run that was read to the end, such as `chat({ stream: false })`.
9​
10## Properties
11​
12### chunks
13​
14```ts
15chunks: AGUIEvent[];
16```
17​
18Defined in: packages/ai/src/stream-to-response.ts:37
19​
20Every chunk the run produced, in order.
21​
22***
23​
24### text
25​
26```ts
27text: string;
28```
29​
30Defined in: packages/ai/src/stream-to-response.ts:35
31​
32Concatenated TEXT_MESSAGE_CONTENT deltas.