We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d52c3c3 commit abcec65Copy full SHA for abcec65
1 file changed
Public/Realtime/Set-RealtimeSessionConfiguration.ps1
@@ -182,9 +182,9 @@ function Set-RealtimeSessionConfiguration {
182
if ($PSBoundParameters.ContainsKey('TurnDetectionPrefixPadding')) {
183
$MessageObject.session.turn_detection.prefix_padding_ms = $TurnDetectionPrefixPadding
184
}
185
- if ($PSBoundParameters.ContainsKey('TurnDetectionThreshold')) {
186
- $MessageObject.session.turn_detection.silence_duration_ms = $TurnDetectionSilenceDuration
187
- }
+ if ($PSBoundParameters.ContainsKey('TurnDetectionSilenceDuration')) {
+ $MessageObject.session.turn_detection.silence_duration_ms = $TurnDetectionSilenceDuration
+ }
188
if ($PSBoundParameters.ContainsKey('CreateResponseOnTurnEnd')) {
189
$MessageObject.session.turn_detection.create_response = $CreateResponseOnTurnEnd
190
0 commit comments