Skip to content

Commit b96fbb2

Browse files
yinghsienwucopybara-github
authored andcommitted
docs: Clarify Live API START/END_SENSITIVITY_HIGH/LOW defaults are different in Gemini Live and Gemini Enterprise Agent Platform Live API
Fixes #2555 FUTURE_COPYBARA_INTEGRATE_REVIEW=#1069 from googleapis:release-please--branches--main 7204f42 PiperOrigin-RevId: 928868699
1 parent c748b7c commit b96fbb2

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

src/main/java/com/google/genai/types/EndSensitivity.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ public class EndSensitivity {
2828

2929
/** Enum representing the known values for EndSensitivity. */
3030
public enum Known {
31-
/** The default is END_SENSITIVITY_LOW. */
31+
/**
32+
* The default is END_SENSITIVITY_LOW for Gemini Enterprise Agent Platform and
33+
* END_SENSITIVITY_HIGH for Gemini Live.
34+
*/
3235
END_SENSITIVITY_UNSPECIFIED,
3336

3437
/** Automatic detection ends speech more often. */

src/main/java/com/google/genai/types/StartSensitivity.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ public class StartSensitivity {
2828

2929
/** Enum representing the known values for StartSensitivity. */
3030
public enum Known {
31-
/** The default is START_SENSITIVITY_LOW. */
31+
/**
32+
* The default is START_SENSITIVITY_LOW for Gemini Enterprise Agent Platform and
33+
* START_SENSITIVITY_HIGH for Gemini Live.
34+
*/
3235
START_SENSITIVITY_UNSPECIFIED,
3336

3437
/** Automatic detection will detect the start of speech more often. */

0 commit comments

Comments
 (0)