Class LlmStreamChunk
Single chunk yielded by . Non-final chunks have =
null and carry the pieces as they arrive: visible text as , the model's thinking as
without a signature. A piece is partial; the assembled blocks are in
of the last chunk, which also carries the completed tool calls in .
public sealed record LlmStreamChunk : IEquatable<LlmStreamChunk>
Inheritance
Implements
Properties
Content
public IReadOnlyList<LlmContentBlock> Content { get; init; }
Response
The whole answer assembled from the stream, exactly what returns for
public LlmResponse? Response { get; init; }
StopReason
public LlmStopReason? StopReason { get; init; }
Usage
public LlmUsage? Usage { get; init; }
Constructors
LlmStreamChunk(IReadOnlyList<LlmContentBlock>, LlmStopReason?, LlmUsage?)
Single chunk yielded by . Non-final chunks have =