LiveClientContent

@Serializable
data class LiveClientContent(val turns: List<Content>? = null, val turnComplete: Boolean? = null)

Incremental update of the current conversation delivered from the client.

All the content here will unconditionally be appended to the conversation history and used as part of the prompt to the model to generate content.

A message here will interrupt any current model generation.

Constructors

Link copied to clipboard
constructor(turns: List<Content>? = null, turnComplete: Boolean? = null)

Properties

Link copied to clipboard
val turnComplete: Boolean? = null

If true, indicates that the server content generation should start with the currently accumulated prompt. Otherwise, the server will await additional messages before starting generation.

Link copied to clipboard
val turns: List<Content>? = null

The content appended to the current conversation with the model.