Expand description
Streaming types for LLM responses.
This module provides types for handling streaming responses from LLM providers.
The StreamDelta enum represents individual events in a streaming response,
and StreamAccumulator helps collect these events into a final response.
Structs§
- Stream
Accumulator - Helper to accumulate streamed content into a final response.
- Tool
UseAccumulator - Accumulator for a single tool use during streaming.
Enums§
- Stream
Delta - Events yielded during streaming LLM responses.
Type Aliases§
- Stream
Box - Type alias for a boxed stream of stream deltas.