This release includes breaking changes for platform teams planning a safe upgrade.
Published 20d
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, bedrock, and fix across a mixed release.
Full changelog
What's Changed
π Bug Fixes
- fix(bedrock): handle
toolResultattachment co-location per-model viabedrock_tool_result_colocatable_contentby @Hasnaathussain in https://github.com/pydantic/pydantic-ai/pull/6098 - fix(groq): map unified
thinkingsetting to Groqreasoning_effortby @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6231 - fix(evals): reject non-positive
OnlineEvaluator.max_concurrencyby @VectorPeak in https://github.com/pydantic/pydantic-ai/pull/6267 - fix: write relative schema refs for AgentSpec files by @VectorPeak in https://github.com/pydantic/pydantic-ai/pull/6251
- fix(agent): honor
end_strategy="early"forNativeOutputby @Oxygen56 in https://github.com/pydantic/pydantic-ai/pull/6279 - send retry prompt for empty model responses instead of silent resubmit by @dcosson in https://github.com/pydantic/pydantic-ai/pull/5643
- Preserve
FileUrl.force_downloadin UI round-trips by @HarperZ9 in https://github.com/pydantic/pydantic-ai/pull/6205 - Exclude deprecated Bedrock gateway model
anthropic.claude-3-5-sonnet-20240620-v1:0by @ddanielcruzz in https://github.com/pydantic/pydantic-ai/pull/6297 - fix: preserve union
NativeOutputdescription instead of last member's docstring by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6265 - fix(bedrock): deliver unsupported tool-return media to models that isolate
toolResultturns by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6259 - Revert "fix(agent): honor
end_strategy="early"forNativeOutput" by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6301 - Accept thinking-only responses when output_type allows None by @kmike in https://github.com/pydantic/pydantic-ai/pull/5146
- Omit empty
ModelResponsefrom Mistral and Cohere request payloads by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6302
New Contributors
- @Hasnaathussain made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6098
- @saime428 made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6268
- @NotFoundOvO made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6285
- @dcosson made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5643
- @HarperZ9 made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6205
- @kmike made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5146
Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v2.5.0...v2.5.1
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]