Skip to content

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.

IRChatStream

Source stream (delta-only)

IRChatStream

Stream with both delta and accumulated in content chunks