unified-llm-client
    Preparing search index...

    Type Alias StreamChunk

    StreamChunk:
        | { delta: string; type: "text-delta" }
        | { id: string; name: string; type: "tool-call-start" }
        | { argsDelta: string; id: string; type: "tool-call-delta" }
        | { id: string; name: string; result: JsonValue; type: "tool-call-result" }
        | {
            finishReason: CanonicalFinishReason;
            type: "done";
            usage: UsageMetrics;
        }
        | { error: Error; type: "error" }