-
Notifications
You must be signed in to change notification settings - Fork 865
Description
It seems that no matter I do, tracing is enabled including audio in and audio out. https://platform.openai.com/traces
All the below doesn't disable tracing:
OPENAI_AGENTS_DISABLE_TRACING=1
TRACES_ENABLED=0
OPENAI_DISABLE_TRACING=1
DISABLE_TRACING=1
OPENAI_LOG_LEVEL=info
OPENAI_TELEMETRY_DISABLED=1
OPENAI_TRACE_INCLUDE_SENSITIVE_DATA=1
Also passing tracing: null has no effect. Although in session object in response showing it's null
const response = await fetch(
"https://api.openai.com/v1/realtime/sessions",
{
method: "POST",
headers: {
Authorization: Bearer ${process.env.OPENAI_API_KEY}
,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "gpt-4o-realtime-preview-2025-06-03",
tracing: null // https://platform.openai.com/docs/api-reference/realtime-sessions/session_object#realtime-sessions/session_object-tracing
}),
}