---
type: email
from: Kazuhiro Sera <notifications@github.com>
subject: [openai/openai-agents-python] fix: #1880 fix a bug where OpenAI

 Realtime API tracing does not work for realtime agents (PR #1940)
received: 2026-03-06 08:09:28
date_header: Mon, 20 Oct 2025 02:38:15 -0700
priority: normal
status: awaiting_approval
uid: 33055
---

## Email Content

**From:** Kazuhiro Sera <notifications@github.com>
**Subject:** [openai/openai-agents-python] fix: #1880 fix a bug where OpenAI

 Realtime API tracing does not work for realtime agents (PR #1940)
**Date:** Mon, 20 Oct 2025 02:38:15 -0700

### Body (preview)

This pull request resolves #1880; Realtime API accepts sk-proj-... token for starting a WebSocket connection, but with this way, the Realtime API&#39;s server side tracing no longer works. This pattern may be supported again, but as a quick fix for affected users, this SDK migrates to the new way to establish a WebSocket connection.

You can view, comment on, or merge this pull request online at:



  https://github.com/openai/openai-agents-python/pull/1940



-- Commit Summary --



  * fix: #1880 fix a bug where OpenAI Realtime API tracing does not work for realtime agents



-- File Changes --



    M src/agents/realtime/openai_realtime.py (57)

    M tests/realtime/test_tracing.py (109)



-- Patch Links --



https://github.com/openai/openai-agents-python/pull/1940.patch

https://github.com/openai/openai-agents-python/pull/1940.diff



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/pull/1940

You are receiving this because you are subscribed to this thread.



Message ID: &lt;openai/openai-agents-python/pull/1940@github.com&gt;

---

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Escalate
