enableTextStreaming property

bool? enableTextStreaming
getter/setter pair

Whether to stream text output from the model to the client incrementally as it is generated.

Defaults to false. * When disabled, the model's text output is buffered, and each text output sent to the client is a complete sentence. Clients can render each text output on a new line. * When enabled, each text output may contain only part of a sentence. Clients should concatenate consecutive text outputs to render the complete response. NOTE: This is only supported for text (non-voice) sessions using StreamRunSession or BidiRunSession.

Optional.

Implementation

core.bool? enableTextStreaming;