StopReason

@Serializable(with = StopReasonSerializer::class)
sealed interface StopReason(source)

Inheritors

Types

Link copied to clipboard
@Serializable
data object EndTurn : StopReason
Link copied to clipboard
@Serializable
data object MaxTokens : StopReason
Link copied to clipboard
@Serializable
value class Other(val value: String) : StopReason
Link copied to clipboard
@Serializable
data object StopSequence : StopReason

Properties

Link copied to clipboard
abstract val value: String