From a0ec6abc8f54f9cfc110e9b1dd3271971961f193 Mon Sep 17 00:00:00 2001 From: Amy Wu Date: Thu, 11 Jun 2026 14:21:43 -0700 Subject: [PATCH] docs: Clarify Live API START/END_SENSITIVITY_HIGH/LOW defaults are different in Gemini Live and Gemini Enterprise Agent Platform Live API Fixes #2555 PiperOrigin-RevId: 930735639 --- google/genai/types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google/genai/types.py b/google/genai/types.py index f99fbd070..08fc6af35 100644 --- a/google/genai/types.py +++ b/google/genai/types.py @@ -1228,7 +1228,7 @@ class StartSensitivity(_common.CaseInSensitiveEnum): """Start of speech sensitivity.""" START_SENSITIVITY_UNSPECIFIED = 'START_SENSITIVITY_UNSPECIFIED' - """The default is START_SENSITIVITY_LOW.""" + """The default is START_SENSITIVITY_LOW for Gemini Enterprise Agent Platform and START_SENSITIVITY_HIGH for Gemini Live.""" START_SENSITIVITY_HIGH = 'START_SENSITIVITY_HIGH' """Automatic detection will detect the start of speech more often.""" START_SENSITIVITY_LOW = 'START_SENSITIVITY_LOW' @@ -1239,7 +1239,7 @@ class EndSensitivity(_common.CaseInSensitiveEnum): """End of speech sensitivity.""" END_SENSITIVITY_UNSPECIFIED = 'END_SENSITIVITY_UNSPECIFIED' - """The default is END_SENSITIVITY_LOW.""" + """The default is END_SENSITIVITY_LOW for Gemini Enterprise Agent Platform and END_SENSITIVITY_HIGH for Gemini Live.""" END_SENSITIVITY_HIGH = 'END_SENSITIVITY_HIGH' """Automatic detection ends speech more often.""" END_SENSITIVITY_LOW = 'END_SENSITIVITY_LOW'