-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Question
I have a system with
Runner.run_streamed(
....
run_config=RunConfig(tracing_disabled=False, trace_include_sensitive_data=False)
)
which, according to the documentation shouldn't add input/output of my agents-as-a-tools. Correct?
Whether we include potentially sensitive data (for example: inputs/outputs of tool calls or LLM generations) in traces. If False, we'll still create spans for these events, but the sensitive data will not be included.
Source: https://openai.github.io/openai-agents-python/ref/run#agents.run.RunConfig.trace_include_sensitive_data
I'm asking this, because now, with enabled tracing and disabled logging of sensitive data I can see the system prompt, provided input and generated output of my agent-as-tool.
Please see the screenshots:


With trace_include_sensitive_data=False
I would expect to do NOT include inputs/outputs of my agents-as-a-tools.
So, my question is: is it the expected behavior?
Thanks!