Skip to content

Mention in Python OpenAI Agents docs that with trace from the built in openai tracing is currently not supported #14649

@antonpirker

Description

@antonpirker

SDK

Python SDK

Description

OpenAI-Agents SDK has built in tracing. They have a with trace context manager that lets users put multiple agents under one trace in the OpenAI tracing dashboard. In the Sentry tracing dashboard those then are NOT in one trace.

To accomplish the same thing in Sentry the users need to add a with sentry_sdk.start_transaction().

The with trace is openais api and is currently not patched by the Sentry SDK.

Suggested Solution

In the OpenAI Agents documentation mention somewhere that with trace is not support and people have to use the Sentry API (start_transaction) if they want to have multiple agents under the same trace.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions