How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.55.0
Steps to Reproduce
- Install sentry-sdk==2.55.0 and pydantic-ai-slim==1.69.0
- Initialize Sentry with PydanticAIIntegration
- Start the application
Expected Result
Sentry initializes successfully with no errors.
Actual Result
File "/app/.venv/lib/python3.13/site-packages/sentry_sdk/integrations/pydantic_ai/patches/tools.py", line 41, in _patch_tool_execution
original_call_tool = ToolManager._call_tool
AttributeError: type object 'ToolManager' has no attribute '_call_tool'
This is a regression introduced in 2.55.0. The same setup works fine with 2.54.0:
| sentry-sdk |
pydantic-ai-slim |
Result |
| 2.54.0 |
1.69.0 |
✅ Works |
| 2.55.0 |
1.69.0 |
❌ Broken |