Skip to content

Conversation

notV3NOM
Copy link
Contributor

Fixes #1755

Description

The streamed voice demo fails to run because the STT events have changed as part of Realtime GA.
This PR migrates the STT voice model to be consistent with GA.
As such, this is a BREAKING change for those who want to use beta servers.

Changes

  1. Use GA event name session.update (instead of transcription_session.update) and GA session payload shape (like nested audio.input with PCM format object).
  2. Update STT tests for the same.
  3. Misc: Lint for src/agents/tracing/spans.py

Tests

The demo works as expected and all tests/lint/type-checks pass.

@seratch seratch added feature:voice bug Something isn't working labels Sep 17, 2025
Copy link
Member

@seratch seratch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sending this PR. I've confirmed this resolves the error

@seratch seratch merged commit ee751cb into openai:main Sep 17, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature:voice
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Streamed voice demo not worning
2 participants