agentops icon indicating copy to clipboard operation
agentops copied to clipboard

[Bug]: Client Side Exception occurred when clicking on the span

Open fenilfaldu opened this issue 8 months ago • 0 comments

Contact Details

[email protected]

📦 Package Version

0.4.6

🎞️ Framework Version

Open AI Agents SDK

🔎 Describe the Bug

Reproduction Script:

AGENTOPS_API_KEY = os.getenv("AGENTOPS_API_KEY")
agentops.init(api_key=AGENTOPS_API_KEY)
agentops.start_session(tags=["simple-example"])
async def main():
    agent = Agent(
        name="Assistant",
        instructions="You only respond in haikus.",
    )

    result = await Runner.run(agent, "Tell me about recursion in programming.")
    print(result.final_output)

->The dashboard initially renders all spans as expected. However, clicking on the last two spans triggers a client-side exception.

Image

Image

🤝 Contribution

  • [x] Yes, I'd be happy to submit a pull request with these changes.
  • [x] I need some guidance on how to contribute.
  • [x] I'd prefer the AgentOps team to handle this update.

fenilfaldu avatar Apr 21 '25 20:04 fenilfaldu