fix(pydantic-ai): Make imports defensive to avoid ModuleNotFoundError
#5135
Codecov / codecov/project
succeeded
Nov 21, 2025 in 0s
79.81% (-4.21%) compared to f945e38
View this Pull Request on Codecov
79.81% (-4.21%) compared to f945e38
Details
Codecov Report
❌ Patch coverage is 0% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.81%. Comparing base (f945e38) to head (74ead4e).
✅ All tests successful. No failed tests found.
Additional details and impacted files
@@ Coverage Diff @@
## master #5135 +/- ##
==========================================
- Coverage 84.01% 79.81% -4.21%
==========================================
Files 180 180
Lines 18178 18194 +16
Branches 3231 3231
==========================================
- Hits 15272 14521 -751
- Misses 1916 2760 +844
+ Partials 990 913 -77 | Files with missing lines | Coverage Δ | |
|---|---|---|
| ..._sdk/integrations/pydantic_ai/patches/agent_run.py | 0.00% <0.00%> (-89.16%) |
⬇️ |
| ...dk/integrations/pydantic_ai/patches/graph_nodes.py | 0.00% <0.00%> (-87.50%) |
⬇️ |
| .../integrations/pydantic_ai/patches/model_request.py | 0.00% <0.00%> (-64.29%) |
⬇️ |
| ...ntry_sdk/integrations/pydantic_ai/patches/tools.py | 0.00% <0.00%> (-78.38%) |
⬇️ |
Loading