Type Alias: StreamFinishReason
StreamFinishReason =
"stop"|"length"|"tool-calls"|"error"
Defined in: packages/agentos/src/api/streamText.ts:68
Canonical finish-reason union for the streaming surface. Mirrors GenerateTextResult.finishReason so hosts can branch on one vocabulary regardless of which API produced the text.