|
4 | 4 |
|
5 | 5 | ### Various fixes & improvements
|
6 | 6 |
|
7 |
| -- Support `openai-agents` (#4437) by @antonpirker |
8 |
| -- ref(langchain): Greatly simplify `_wrap_configure` (#4479) by @szokeasaurusrex |
9 |
| -- tests: Tox update (#4509) by @sentrivana |
10 |
| -- Cursor generated rules (#4493) by @sl0thentr0py |
11 |
| -- fix(ci): Remove tracerite pin (almost) (#4504) by @sentrivana |
12 |
| -- fix(profiling): Ensure profiler thread exits when needed (#4497) by @Zylphrex |
13 |
| -- fix(ci): Do not install newest tracerite (#4494) by @sentrivana |
14 |
| -- tests: Regenerate tox (#4484) by @sentrivana |
15 |
| -- fix(scope): Handle token reset `LookupError`s gracefully (#4481) by @sentrivana |
16 |
| -- tests: Upper bound on fakeredis on old Python versions (#4482) by @sentrivana |
17 |
| -- feat(logs): Add support for dict args (#4478) by @AbhiPrasad |
18 |
| -- tests: Regenerate tox (#4457) by @sentrivana |
| 7 | +- **New Integration (BETA):** Add support for `openai-agents` (#4437) by @antonpirker |
| 8 | + |
| 9 | + We can now instrument AI agents that are created with the [OpenAI Agents SDK](https://openai.github.io/openai-agents-python/) out of the box. |
| 10 | + |
| 11 | +```python |
| 12 | +import sentry_sdk |
| 13 | +from sentry_sdk.integrations.openai_agents import OpenAIAgentsIntegration |
| 14 | + |
| 15 | +# Add the OpenAIAgentsIntegration to your sentry_sdk.init call: |
| 16 | +sentry_sdk.init( |
| 17 | + dsn="...", |
| 18 | + integrations=[ |
| 19 | + OpenAIAgentsIntegration(), |
| 20 | + ] |
| 21 | +) |
| 22 | +``` |
| 23 | + |
| 24 | +For more information see the [OpenAI Agents integrations documentation](https://docs.sentry.io/platforms/python/integrations/openai-agents/). |
| 25 | + |
| 26 | +- Logs: Add support for `dict` arguments (#4478) by @AbhiPrasad |
| 27 | +- Add Cursor generated rules (#4493) by @sl0thentr0py |
| 28 | +- Greatly simplify Langchain integrations `_wrap_configure` (#4479) by @szokeasaurusrex |
| 29 | +- Fix(ci): Remove tracerite pin (almost) (#4504) by @sentrivana |
| 30 | +- Fix(profiling): Ensure profiler thread exits when needed (#4497) by @Zylphrex |
| 31 | +- Fix(ci): Do not install newest `tracerite` (#4494) by @sentrivana |
| 32 | +- Fix(scope): Handle token reset `LookupError`s gracefully (#4481) by @sentrivana |
| 33 | +- Tests: Tox update (#4509) by @sentrivana |
| 34 | +- Tests: Upper bound on fakeredis on old Python versions (#4482) by @sentrivana |
| 35 | +- Tests: Regenerate tox (#4457) by @sentrivana |
19 | 36 |
|
20 | 37 | ## 2.30.0
|
21 | 38 |
|
|
0 commit comments