You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"error": "'Span' object has no attribute '_context_manager_state'",
"tool_name": "<agentname>_agent"
}
Expected Result
This error not to happen
That most (if not all) parts of the Sentry SDK are wrapped in try catch blocks, so that if for some reason like now a Span cannot be closed, it doesn't interfere with the normal flow
Actual Result
The agent crashes, and instead of the result that was generated by the nested agent being available to the main agent, the main agent only sees the error message and cannot continue.
How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.35.0
Steps to Reproduce
Run
Then, the agent that finishes 2nd will fail with:
{ "error": "'Span' object has no attribute '_context_manager_state'", "tool_name": "<agentname>_agent" }Expected Result
try catchblocks, so that if for some reason like now aSpancannot be closed, it doesn't interfere with the normal flowActual Result
The agent crashes, and instead of the result that was generated by the nested agent being available to the main agent, the main agent only sees the error message and cannot continue.