interface LLMStreamResponse {
    aggregated: Promise<LLMResponse>;
    stream: AsyncIterable<string>;
}

Properties

Properties

aggregated: Promise<LLMResponse>

Resolves when the stream completes with full response + usage data

stream: AsyncIterable<string>

Yields text deltas as they arrive from the provider