Skip to content

Commit 1ba8e2e

Browse files
MarkDaoustcopybara-github
authored andcommitted
feat(genai): add TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO to TurnCoverage
Add the missing enum value to the TurnCoverage enum in the GenAI SDKs to synchronize with the generative_service.proto definitions. PiperOrigin-RevId: 890033764
1 parent 8e3e00c commit 1ba8e2e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

google/genai/types.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,10 @@ class TurnCoverage(_common.CaseInSensitiveEnum):
11141114
"""The users turn only includes activity since the last turn, excluding inactivity (e.g. silence on the audio stream). This is the default behavior."""
11151115
TURN_INCLUDES_ALL_INPUT = 'TURN_INCLUDES_ALL_INPUT'
11161116
"""The users turn includes all realtime input since the last turn, including inactivity (e.g. silence on the audio stream)."""
1117+
TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO = (
1118+
'TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO'
1119+
)
1120+
"""Includes audio activity and all video since the last turn. With automatic activity detection, audio activity means speech and excludes silence."""
11171121

11181122

11191123
class Scale(_common.CaseInSensitiveEnum):

0 commit comments

Comments
 (0)