Skip to content

Commit 106bcee

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 96b1d14 commit 106bcee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

GeneratedFirebaseAI/Sources/Types.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,6 +1826,7 @@ public struct TurnCoverage: CodableProtoEnum, Sendable {
18261826
case unspecified = "TURN_COVERAGE_UNSPECIFIED"
18271827
case turnIncludesOnlyActivity = "TURN_INCLUDES_ONLY_ACTIVITY"
18281828
case turnIncludesAllInput = "TURN_INCLUDES_ALL_INPUT"
1829+
case turnIncludesAudioActivityAndAllVideo = "TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO"
18291830
}
18301831

18311832
/// If unspecified, the default behavior is `TURN_INCLUDES_ONLY_ACTIVITY`.
@@ -1839,6 +1840,11 @@ public struct TurnCoverage: CodableProtoEnum, Sendable {
18391840
/// inactivity (e.g. silence on the audio stream).
18401841
public static let turnIncludesAllInput = TurnCoverage(kind: .turnIncludesAllInput)
18411842

1843+
/// Includes audio activity and all video since the last turn. With automatic
1844+
/// activity detection, audio activity means speech and excludes silence.
1845+
public static let turnIncludesAudioActivityAndAllVideo = TurnCoverage(
1846+
kind: .turnIncludesAudioActivityAndAllVideo)
1847+
18421848
let rawValue: String
18431849
}
18441850

0 commit comments

Comments
 (0)