Closed
Description
Describe the bug
Hey, when we add a langsmith trace processor, our latency goes through the roof. We have a suspicion, that tracing is not done asynchronously. Is there a way to make it async?
This is before and after we removed langsmith (but kept openai) tracing:
Debug information
- Agents SDK version: (e.g.
v0.0.6
) - Python version (e.g. Python 3.12.8)
Repro steps
from agents import (
add_trace_processor,
)
from langsmith.wrappers import OpenAIAgentsTracingProcessor
add_trace_processor(OpenAIAgentsTracingProcessor())
Expected behavior
Tracing does not intrduce any latency to the system