Problem Statement
Key ask: make force_flush either optional (configurable), or run it non-blocking in a daemon thread.
Every time a span ends, force_flush() is called synchronously. This affects:
- After every tool call span (end_tool_call_span)
- After the full agent span (end_agent_span)
- On errors (end_span_with_error)
Proposed Solution
Make force_flush either optional (configurable), or run it non-blocking in a daemon thread
Use Case
N/A
Alternatives Solutions
No response
Additional Context
No response