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.
Parameters
Section titled “Parameters”inderun
Section titled “inderun”options
Section titled “options”Returns
Section titled “Returns”Promise<TextStream>
Throws
Section titled “Throws”Exactly as stream() does: validation and routing refusals reject
here, before there is a run.
IndeRun — open-source AI execution for cross-platform apps. Built and maintained by Independo GmbH (opens in new tab), supported by netidee (opens in new tab).
MIT-licensed SDK · No SDK usage telemetry.
© 2025–2026 Independo GmbH