File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,9 @@ class RealtimeSessionModelSettings(TypedDict):
9494 voice : NotRequired [str ]
9595 """The voice to use for audio output."""
9696
97+ speed : NotRequired [float ]
98+ """The speed of the model's responses."""
99+
97100 input_audio_format : NotRequired [RealtimeAudioFormat ]
98101 """The format for input audio streams."""
99102
Original file line number Diff line number Diff line change @@ -569,6 +569,7 @@ def _get_session_config(
569569 or DEFAULT_MODEL_SETTINGS .get ("model_name" )
570570 ),
571571 voice = model_settings .get ("voice" , DEFAULT_MODEL_SETTINGS .get ("voice" )),
572+ speed = model_settings .get ("speed" , None ),
572573 modalities = model_settings .get ("modalities" , DEFAULT_MODEL_SETTINGS .get ("modalities" )),
573574 input_audio_format = model_settings .get (
574575 "input_audio_format" ,
You can’t perform that action at this time.
0 commit comments