Skip to content

fix: normalize realtime manager dict events#3466

Open
nightcityblade wants to merge 1 commit into
openai:mainfrom
nightcityblade:fix/issue-3402
Open

fix: normalize realtime manager dict events#3466
nightcityblade wants to merge 1 commit into
openai:mainfrom
nightcityblade:fix/issue-3402

Conversation

@nightcityblade

Copy link
Copy Markdown
  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Normalize dict events passed to the realtime connection managers before JSON encoding them, so omitted values are stripped the same way they already are for typed events. Added sync and async regression tests for the pre-connect manager path.

Fixes #3402.

Additional context & links

Local test run:

  • PYTHONPATH=src python3.11 -m pytest tests/test_realtime_connection_manager.py -q -n0

@nightcityblade nightcityblade requested a review from a team as a code owner July 3, 2026 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pre-connect Realtime manager.send crashes on Omit in dict events

1 participant