FIMCompletion
@Serializable
Response payload of a Fill-In-the-Middle completion.
Streaming FIM endpoints emit a kotlinx.coroutines.flow.Flow of FIMCompletion chunks; all chunks from the same response share id and created. For non-streaming calls the single returned instance contains the full completion.
Constructors
Properties
Link copied to clipboard
Backend configuration fingerprint, if the API returned one.
Link copied to clipboard
Token usage statistics. For streaming requests they arrive on the last content chunk — the one with a non-null finish_reason. See StreamOptions.includeUsage.