prewarm

fun prewarm(liveRunConfig: LiveRunConfig, generateContentConfig: GenerateContentConfig? = null)

Starts opening spares for live agents using liveRunConfig and generateContentConfig, so even their first connect can take one. An agent whose request config differs (for example, when its output schema is applied) still opens its first connection directly.