Skip to content

Commit bb260b6

Browse files
committed
Disable tracing in _DurableModelStub by setting ModelTracingInput to DISABLED
1 parent 5e29aa4 commit bb260b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples-v2/openai_agents/durable_model_stub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def make_tool_info(tool: Tool) -> ToolInput:
124124
tools=tool_infos,
125125
output_schema=output_schema_input,
126126
handoffs=handoff_infos,
127-
tracing=ModelTracingInput(tracing.value),
127+
tracing=ModelTracingInput.DISABLED, # ModelTracingInput(tracing.value),
128128
previous_response_id=previous_response_id,
129129
prompt=prompt,
130130
)

0 commit comments

Comments
 (0)