I am using the Agents SDK and have sensitive information I do not want logged or traced.
Traces
export OPENAI_AGENTS_DISABLE_TRACING=1
This call works and my calls no longer show up in the traces, no issue here.
Logs
From the API here, it says:
Sensitive data in logs
Certain logs may contain sensitive data (for example, user data). If you want to disable this data from being logged, set the following environment variables.
To disable logging LLM inputs and outputs:
export OPENAI_AGENTS_DONT_LOG_MODEL_DATA=1
To disable logging tool inputs and outputs:
export OPENAI_AGENTS_DONT_LOG_TOOL_DATA=1
But, I find that my information is still showing up in the Logs on the OpenAI dashboard.
Any ideas on how we can disable this so my data is not stored anywhere?
Thanks!