This release adds 1 notable feature for engineering teams evaluating rollout.
Published 25d
AI Agents & Assistants
β No known CVEs patched
✓ No known CVEs patched in this version
Topics
agent-framework
genai
llm
pydantic
python
Summary
AI summaryUpdates π Bug Fixes, fix, and π Features across a mixed release.
Full changelog
What's Changed
π Features
- Add native Z.AI (Zhipu AI) provider with thinking support by @eliasaronson in https://github.com/pydantic/pydantic-ai/pull/4273
π Bug Fixes
- fix(test): set
provider_nameonTestModelnon-streaming responses by @syf2211 in https://github.com/pydantic/pydantic-ai/pull/6066 - Keep Bedrock tool results non-empty for empty lists by @Whning0513 in https://github.com/pydantic/pydantic-ai/pull/6155
- fix(huggingface): don't silently drop file content in tool returns by @HaozheZhang6 in https://github.com/pydantic/pydantic-ai/pull/5881
- fix: skip OpenAI thinking-only chat history messages by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/6182
- Don't send
defer_loadingwithouttool_searchon models without native tool search by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/6144 - Route remaining instrumentation serialization through
safe_to_jsonby @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6073 - fix: reconstruct multimodal
ToolReturnPart.contentvia aToolReturnContentdiscriminator by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6191 - Fix
AGUIAdapter.dump_messagesreorderingToolReturnPartafterUserPromptPartby @amarjaleelbanbhan in https://github.com/pydantic/pydantic-ai/pull/5969 - fix: track
new_messages()boundary by position so a rebuilt resumed request isn't leaked by @klplentific in https://github.com/pydantic/pydantic-ai/pull/6034 - Preserve
tool_kindin Vercel AI and AG-UI message round-trips by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/5873 - Make durable-exec MCP
get_toolscaching replay-deterministic by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5883 - Preserve
FilePart.content.vendor_metadatain AG-UI and Vercel AI adapter round-trips by @Navaneethp007 in https://github.com/pydantic/pydantic-ai/pull/6095 - Resolve dynamic toolset
get_instructionsin an activity under Temporal by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5925
New Contributors
- @Whning0513 made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6155
- @eliasaronson made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4273
- @amarjaleelbanbhan made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5969
- @klplentific made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6034
- @Navaneethp007 made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6095
Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v2.2.0...v2.3.0
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
Related context
Related tools
Earlier breaking changes
- v1.95.0 rename βbuilt-in toolsβ to βnative toolsβ, deprecate old fields, register via capabilities=[NativeTool(...)]
Beta — feedback welcome: [email protected]