Chat Completion Chunk
@Serializable
One chunk of a streamed chat completion response.
Streaming chat endpoints emit a kotlinx.coroutines.flow.Flow of these chunks; all chunks from the same response share id and created. Clients typically concatenate ChatCompletionDelta.content across chunks to reconstruct the full assistant message.
Properties
Link copied to clipboard
List of incremental choice updates produced on this step.
Link copied to clipboard
Backend configuration fingerprint, if the API returned one.
Link copied to clipboard
Token usage statistics for the whole request, carried by the last content chunk — the one whose single choice adds no content and has a non-null finish_reason; null on the chunks before it. See StreamOptions.includeUsage.