Skip to content

fix(pydantic_ai): support moved tool manager module#224

Merged
Abhijeet Prasad (AbhiPrasad) merged 9 commits intomainfrom
abhi-fix-pydantic-ai-toolmanager-move
Apr 8, 2026
Merged

fix(pydantic_ai): support moved tool manager module#224
Abhijeet Prasad (AbhiPrasad) merged 9 commits intomainfrom
abhi-fix-pydantic-ai-toolmanager-move

Conversation

@AbhiPrasad
Copy link
Copy Markdown
Member

Patch ToolManager through pydantic_ai._agent_graph so the integration keeps working after pydantic_ai 1.78.0 moved the implementation out of pydantic_ai._tool_manager.

Update the idempotence test to assert against the same stable alias while keeping the existing VCR-backed tool execution regression coverage in place.

Patch ToolManager through pydantic_ai._agent_graph so the integration keeps working after
pydantic_ai 1.78.0 moved the implementation out of pydantic_ai._tool_manager.

Update the idempotence test to assert against the same stable alias while
keeping the existing VCR-backed tool execution regression coverage in place.
@starfolkai
Copy link
Copy Markdown

starfolkai bot commented Apr 8, 2026

Drop into this review session: sfk devbox connect pr-224-braintrust-sdk-python-fa24 --attach

No serious bugs or issues found 🎉

Generated with Claude Code

Remove psycopg2-binary from the cli extra so braintrust[all] no longer pulls
it in.

The package is not used by the SDK codebase and it breaks Windows free-threaded
3.13/3.14 installs because upstream does not publish cp313t/cp314t wheels.
@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 8, 2026

No dependency changes detected. Learn more about Socket for GitHub.

👍 No dependency changes detected in pull request

Update the optional requirements and LiteLLM test matrix to use 1.83.0.

This picks up the security fix for the OIDC userinfo cache key collision CVE
while still avoiding the compromised 1.82.7 and 1.82.8 releases.
Exclude orjson from the performance extra when building on free-threaded
interpreters.

orjson 3.11.8 does not support free-threaded Python, which breaks
braintrust[all] installation on Windows 3.13t and 3.14t runners.
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) merged commit f0b3b62 into main Apr 8, 2026
39 checks passed
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) deleted the abhi-fix-pydantic-ai-toolmanager-move branch April 8, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants