Skip to content

assembleStreamChunks

assembleStreamChunks(stream): Promise<string>

Defined in: streaming.ts:645

Assemble stream chunks into a complete message.

Alternative to streamToResponse that returns just the assembled message.

IRChatStream

Stream to assemble

Promise<string>

Assembled message text