For OpenAI realtime tracing not work after 26th Se...
# ask-ai
w
For OpenAI realtime tracing not work after 26th September
t
Thanks for reaching out, Chiranjeevi. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'd love to help you get to the bottom of the issue with OpenAI realtime tracing. Could you share a bit more about how you're using it? For example: • Are you working with the Python or JavaScript SDK? • How have you set up the
tracing
parameter in your
RealtimeModel
configuration? • Have there been any changes to your environment or settings since September 26th? Knowing these details will really help us figure out why the tracing might have stopped working. Looking forward to your reply! Sources: livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/real... | plugins/openai/src/realtime/realtime_model.ts
w
It’s python sdk, yes we have tracing and no changes
t
Let's work together to troubleshoot the issue you're experiencing with OpenAI realtime tracing in the Python SDK. Here are some steps that might help: 1. First, please double-check that the
tracing
parameter is set up correctly in your
RealtimeModel
configuration. 2. Make sure your authentication method is accurate—whether you're using an
api_key
or `entra_token`—and that the base URL matches the service you're connecting to, like OpenAI or Azure OpenAI. 3. Try enabling debug logging by setting the
LK_OPENAI_DEBUG
environment variable. This will give you detailed logs, including the full URL used for API connections, which can be really insightful. 4. Take a moment to review your environment variables such as
OPENAI_API_KEY
,
AZURE_OPENAI_ENDPOINT
, and
OPENAI_API_VERSION
to ensure everything is configured correctly. 5. If you want even deeper insights, consider integrating OpenTelemetry. It can help collect detailed telemetry and trace data, making it easier to analyze session starts, LLM interactions, and other diagnostics. If you try these steps and still run into issues, please don't hesitate to reach out. I'm here to help and we can explore more options together! Sources: Troubleshooting & Common Issues | livekit/livekit_composite | DeepWiki | livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/real... | Logs, metrics, and telemetry | LiveKit Docs
b
did you manage to fix this? @witty-yak-62929
t
Thank you for sharing your concerns! I've outlined some detailed troubleshooting steps to help with the OpenAI realtime tracing issue in the Python SDK. Have you had a chance to try them out? Please let me know if you're still experiencing difficulties—I’m here to help and can also escalate this for a closer look if needed. Your experience is important to us!
w
t
Thank you so much for sharing the link! It looks like the issue you’re experiencing might be related to a known problem in the OpenAI Python SDK. If that’s the case, the solution will likely come from updates or fixes that OpenAI releases in their SDK. Here’s what I suggest to move forward: • Take a look at the linked GitHub issue for any updates or helpful workarounds from the OpenAI team. • Make sure your SDK is updated to the latest version, as the issue might have been fixed already. • Keep an eye on the GitHub thread for any new patches or fixes that come up. If you have any more questions or need a hand with anything else, please don’t hesitate to reach out. I’m here to help!