StreamedText
How a streamText run ended, when it did not fail.
Properties
Section titled “Properties”finishReason?
Section titled “finishReason?”
optionalfinishReason?:FinishReason
"cancelled" when the run was cancelled; otherwise as the provider reported it.
outcome
Section titled “outcome”outcome:
StreamTerminalOutcome
The canonical terminal outcome.
provenance?
Section titled “provenance?”
optionalprovenance?:ExecutionProvenance
runId:
string
text:
string
The full text, or the partial text a cancelled run had delivered.
usage?
Section titled “usage?”
optionalusage?:Usage
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