Skip to content

2.31.0

Latest
Compare
Choose a tag to compare
@sentry-release-bot sentry-release-bot released this 24 Jun 16:36
9792e4f

Various fixes & improvements

  • New Integration (BETA): Add support for openai-agents (#4437) by @antonpirker

    We can now instrument AI agents that are created with the OpenAI Agents SDK out of the box.

import sentry_sdk
from sentry_sdk.integrations.openai_agents import OpenAIAgentsIntegration

# Add the OpenAIAgentsIntegration to your sentry_sdk.init call:
sentry_sdk.init(
    dsn="...",
    integrations=[
        OpenAIAgentsIntegration(),
    ]
)

For more information see the OpenAI Agents integrations documentation.