diff --git a/src/agents/voice/models/openai_stt.py b/src/agents/voice/models/openai_stt.py index b1f1b6da7..1ae4ea147 100644 --- a/src/agents/voice/models/openai_stt.py +++ b/src/agents/voice/models/openai_stt.py @@ -226,7 +226,7 @@ async def _handle_events(self) -> None: break event_type = event.get("type", "unknown") - if event_type == "input_audio_transcription_completed": + if event_type == "conversation.item.input_audio_transcription.completed": transcript = cast(str, event.get("transcript", "")) if len(transcript) > 0: self._end_turn(transcript)