StreamAccumulatorState
Defined in: streaming-modes.ts:31
Stream accumulator state for tracking accumulated content.
Properties
Section titled “Properties”accumulated
Section titled “accumulated”accumulated:
string
Defined in: streaming-modes.ts:35
Full accumulated text so far.
chunkCount
Section titled “chunkCount”chunkCount:
number
Defined in: streaming-modes.ts:40
Number of chunks processed.
lastSequence
Section titled “lastSequence”lastSequence:
number
Defined in: streaming-modes.ts:45
Last chunk sequence number (for validation).