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

ChatResult.md

32 lines726 Bytes

Defined in: packages/ai/src/stream-to-response.ts:33

The result of a run that was read to the end, such as chat({ stream: false }).

Properties

chunks

chunks: AGUIEvent[];

Defined in: packages/ai/src/stream-to-response.ts:37

Every chunk the run produced, in order.


text

text: string;

Defined in: packages/ai/src/stream-to-response.ts:35

Concatenated TEXT_MESSAGE_CONTENT deltas.