Skip to content

Outdated event listening in openai_stt.py #1678

@majklost

Description

@majklost

Bug description

when running example examples/voice/streamed, the transcription is never processed, because it expects an event type input_audio_transcription_completed. After update of the API, the correct event to listen for is conversation.item.input_audio_transcription.completed

Debug information

  • Agents SDK version: (e.g. v0.2.11)
  • Python version (e.g. Python 3.12.2)

Repro steps

running

python -m examples.voice.streamed.main

no output will be generated. After the suggested fix, example runs normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already existsfeature:voice

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions