End

data class End(val finishReason: String? = null, val metaInfo: ResponseMetaInfo = ResponseMetaInfo.Empty) : StreamFrame(source)

Represents a frame of a streaming response from a LLM that signals the end of the stream.

Constructors

Link copied to clipboard
constructor(finishReason: String? = null, metaInfo: ResponseMetaInfo = ResponseMetaInfo.Empty)

Properties

Link copied to clipboard
val finishReason: String? = null

The reason for the stream to end.

Link copied to clipboard