Accumulates the output of a single LLM stream turn.
Text deltas, thinking deltas, and tool call completions are appended as the stream arrives. At stream end the buffer is consumed to build the assistant message and hand off tool calls for execution.
Summary
Functions
Add a completed tool call.
Append a text delta.
Append a thinking delta.
Return an empty buffer.
Types
Functions
Add a completed tool call.
Append a text delta.
Append a thinking delta.
@spec new() :: t()
Return an empty buffer.