This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
Summary
AI summaryUpdates π Bug Fixes, π Features, and bedrock across a mixed release.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Low |
Add `list_prompts` and `get_prompt` to McpServer. Add `list_prompts` and `get_prompt` to McpServer. Source: llm_adapter@2026-05-27 Confidence: high |
β |
| Feature | Low |
Roundβtrip message timestamps through VercelAIAdapter's UIMessage.metadata. Roundβtrip message timestamps through VercelAIAdapter's UIMessage.metadata. Source: llm_adapter@2026-05-27 Confidence: high |
β |
| Feature | Low |
Support `anthropic_eager_input_streaming` in OpenRouterModel. Support `anthropic_eager_input_streaming` in OpenRouterModel. Source: llm_adapter@2026-05-27 Confidence: high |
β |
| Bugfix | Medium |
Map `malformed_model_output` and `malformed_tool_use` to `FinishReason.error` in bedrock. Map `malformed_model_output` and `malformed_tool_use` to `FinishReason.error` in bedrock. Source: llm_adapter@2026-05-27 Confidence: high |
β |
| Bugfix | Medium |
Recognize `type='adaptive'` in `_is_thinking_enabled` for bedrock. Recognize `type='adaptive'` in `_is_thinking_enabled` for bedrock. Source: llm_adapter@2026-05-27 Confidence: high |
β |
| Bugfix | Medium |
Strip `force_download` flag from clientβsubmitted `FileUrl` parts in UIAdapter.sanitize_messages. Strip `force_download` flag from clientβsubmitted `FileUrl` parts in UIAdapter.sanitize_messages. Source: llm_adapter@2026-05-27 Confidence: high |
β |
| Bugfix | Medium |
Warn when prepare callbacks return `None` in toolsets. Warn when prepare callbacks return `None` in toolsets. Source: llm_adapter@2026-05-27 Confidence: high |
β |
Full changelog
What's Changed
π Features
- Add
list_promptsandget_promptfunctionality toMcpServerby @bdore in https://github.com/pydantic/pydantic-ai/pull/3889 - Round-trip message timestamps through
VercelAIAdapter'sUIMessage.metadataby @Genmin in https://github.com/pydantic/pydantic-ai/pull/5279 - Support
anthropic_eager_input_streaminginOpenRouterModelby @Alex-Resch in https://github.com/pydantic/pydantic-ai/pull/5656
π Bug Fixes
- fix(bedrock): map
malformed_model_outputandmalformed_tool_usetoFinishReason.errorby @kuishou68 in https://github.com/pydantic/pydantic-ai/pull/5640 - fix(bedrock): recognize
type='adaptive'in_is_thinking_enabledby @sevakva in https://github.com/pydantic/pydantic-ai/pull/5651 - fix(ui): Strip
force_downloadflag from client-submittedFileUrlparts inUIAdapter.sanitize_messagesby @colesmcintosh in https://github.com/pydantic/pydantic-ai/pull/5571 - fix(toolsets): warn when prepare callbacks return
Noneby @dfm88 in https://github.com/pydantic/pydantic-ai/pull/5188
New Contributors
- @ejentum made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5594
- @kuishou68 made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5640
- @sevakva made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5651
- @bdore made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3889
- @Genmin made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5279
- @aryanmotgi made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5667
- @dfm88 made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5188
Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v1.102.0...v1.103.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]