HistoryConfig

@Serializable
data class HistoryConfig(val initialHistoryInClientContent: Boolean? = null)

Configuration for history exchange between client and server.

Constructors

Link copied to clipboard
constructor(initialHistoryInClientContent: Boolean? = null)

Properties

Link copied to clipboard

If true, after sending setup_complete, the server will wait and at first process client_content messages until turn_complete is true. This initial history will not trigger a model call and may end with model content. After turn_complete is true, the client can start the realtime conversation via realtime_input.