ContextUpdate

data class ContextUpdate @JvmOverloads constructor(val systemInstruction: Content? = null, val tools: List<Tool>? = null)

A sendContextUpdate call as sent records it.

Constructors

Link copied to clipboard
constructor(systemInstruction: Content? = null, tools: List<Tool>? = null)

Properties

Link copied to clipboard

The new instruction, or null to keep the current one; one with no parts removes it.

Link copied to clipboard
val tools: List<Tool>?

The new tools, or null to keep the current ones; an empty list removes them.