addAccumulatedToStream
addAccumulatedToStream(
stream):IRChatStream
Defined in: streaming-modes.ts:312
Add accumulated field to all content chunks (dual-mode streaming).
Useful for backends that want to provide both delta and accumulated.
Parameters
Section titled “Parameters”stream
Section titled “stream”Source stream (delta-only)
Returns
Section titled “Returns”Stream with both delta and accumulated in content chunks