Skip to content

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

Open
@fenilfaldu

Description

@fenilfaldu

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions