[Bug] Remove/move set_tracing_disabled from inside OpenAI sample workflows
Describe the bug
Two workflows at https://github.com/temporalio/samples-python/tree/main/openai_agents/model_providers/workflows encourage users to call the global set_tracing_disabled inside the workflow. Should either remove altogether or move to the _worker.py file instead.
Let's move it to the worker.py to keep as much fidelity as possible with the OpenAI Agents SDK Examples. We can also highlight / comment on why it is there.
For bonus points, we could go one further and update the OpenAI plugin to have the sandbox consider all such side-effecting calls as illegal.
Describe the bug
Two workflows at https://github.com/temporalio/samples-python/tree/main/openai_agents/model_providers/workflows encourage users to call the global
set_tracing_disabledinside the workflow. Should either remove altogether or move to the_worker.pyfile instead.
Describe the bug
Two workflows at https://github.com/temporalio/samples-python/tree/main/openai_agents/model_providers/workflows encourage users to call the global
set_tracing_disabledinside the workflow. Should either remove altogether or move to the_worker.pyfile instead.