Type alias StreamFinishReason

StreamFinishReason: "stop" | "length" | "tool-calls" | "error"

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.