@@ -101,7 +101,7 @@ public struct LiveGenerationConfig: Sendable {
101
101
/// > Warning: Specifying response modalities is a **Public Preview** feature, which means
102
102
/// > that it is not subject to any SLA or deprecation policy and could change in
103
103
/// > backwards-incompatible ways.
104
- /// - speechConfig : Controls the voice of the model, when streaming `audio` via
104
+ /// - speech : Controls the voice of the model, when streaming `audio` via
105
105
/// ``ResponseModality``.
106
106
/// - inputAudioTranscription: Configures (and enables) input transcriptions when streaming to
107
107
/// the model.
@@ -122,7 +122,7 @@ public struct LiveGenerationConfig: Sendable {
122
122
candidateCount: Int ? = nil , maxOutputTokens: Int ? = nil ,
123
123
presencePenalty: Float ? = nil , frequencyPenalty: Float ? = nil ,
124
124
responseModalities: [ ResponseModality ] ? = nil ,
125
- speechConfig : SpeechConfig ? = nil ,
125
+ speech : SpeechConfig ? = nil ,
126
126
inputAudioTranscription: AudioTranscriptionConfig ? = nil ,
127
127
outputAudioTranscription: AudioTranscriptionConfig ? = nil ) {
128
128
self . init (
@@ -135,7 +135,7 @@ public struct LiveGenerationConfig: Sendable {
135
135
presencePenalty: presencePenalty,
136
136
frequencyPenalty: frequencyPenalty,
137
137
responseModalities: responseModalities,
138
- speechConfig: speechConfig ? . speechConfig
138
+ speechConfig: speech ? . speechConfig
139
139
) ,
140
140
inputAudioTranscription: inputAudioTranscription? . audioTranscriptionConfig,
141
141
outputAudioTranscription: outputAudioTranscription? . audioTranscriptionConfig
0 commit comments