diff --git a/examples/foundational/19-openai-realtime-beta.py b/examples/foundational/19-openai-realtime-beta.py index 655439d7c..a9aa27c45 100644 --- a/examples/foundational/19-openai-realtime-beta.py +++ b/examples/foundational/19-openai-realtime-beta.py @@ -113,7 +113,6 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): session_properties = SessionProperties( input_audio_transcription=InputAudioTranscription(), - modalities=["text", "audio"], # Set openai TurnDetection parameters. Not setting this at all will turn it # on by default turn_detection=SemanticTurnDetection(), @@ -159,16 +158,6 @@ Remember, your responses should be short. Just one or two sentences, usually.""" # openai WebSocket API can understand. context = OpenAILLMContext( [{"role": "user", "content": "Say hello!"}], - # [{"role": "user", "content": [{"type": "text", "text": "Say hello!"}]}], - # [ - # { - # "role": "user", - # "content": [ - # {"type": "text", "text": "Say"}, - # {"type": "text", "text": "yo what's up!"}, - # ], - # } - # ], tools, ) diff --git a/examples/foundational/19b-openai-realtime-beta-text.py b/examples/foundational/19b-openai-realtime-beta-text.py index e37be8078..04ad42fc8 100644 --- a/examples/foundational/19b-openai-realtime-beta-text.py +++ b/examples/foundational/19b-openai-realtime-beta-text.py @@ -165,16 +165,6 @@ Remember, your responses should be short. Just one or two sentences, usually.""" # openai WebSocket API can understand. context = OpenAILLMContext( [{"role": "user", "content": "Say hello!"}], - # [{"role": "user", "content": [{"type": "text", "text": "Say hello!"}]}], - # [ - # { - # "role": "user", - # "content": [ - # {"type": "text", "text": "Say"}, - # {"type": "text", "text": "yo what's up!"}, - # ], - # } - # ], tools, )