Skip to content

streamText

streamText(inderun, options): Promise<TextStream>

Streams text: stream() over the canonical request. The run starts immediately and is read once, into a replay buffer, so textStream, fullStream, and result can each be consumed in any order (or not at all) without stalling the others.

IndeRunApi

TextGenerationOptions

Promise<TextStream>

Exactly as stream() does: validation and routing refusals reject here, before there is a run.