ChatState

data class ChatState(val id: String, val messages: List<UIMessage> = emptyList(), val status: ChatStatus = ChatStatus.Ready, val error: Throwable? = null)(source)

Since

0.3.0-beta01

Constructors

Link copied to clipboard
constructor(id: String, messages: List<UIMessage> = emptyList(), status: ChatStatus = ChatStatus.Ready, error: Throwable? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard