sendContent

Sends content in turn-by-turn mode.

Throws IllegalArgumentException if content breaks a ContentInput rule. A complete turn is recorded in the session by the LlmAgent live flow; a partial one or a function response is not.

Parameters

partial

Whether this update leaves the model's current turn open.