v1.56.0
pydantic/pydantic-aiv1.56.0Feb 6, 2026by DouweM
AI Summary
Introduces support for Claude Opus 4.6 and new Anthropic settings, alongside security improvements regarding local network file downloads.
Key Highlights
- Added Claude Opus 4.6 support with `anthropic_effort` and `anthropic_thinking.type='adaptive'`
- Added `anthropic_betas` to `AnthropicModelSettings`
- Fixed Bedrock `CachePoint` placement with multiple trailing documents
- Disallowed downloading `FileUrl`s pointing at the local network by default
New Features
- Claude Opus 4.6 support
- `anthropic_betas` setting
Full Release Notes
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add Claude Opus 4.6, `anthropic_effort` and `anthropic_thinking.type='adaptive'` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4216 * Add `anthropic_betas` to `AnthropicModelSettings` by @bohdanhr in https://github.com/pydantic/pydantic-ai/pull/4180 ### 🐛 Bug Fixes * Fix Bedrock `CachePoint` placement with multiple trailing documents by @psg2 in https://github.com/pydantic/pydantic-ai/pull/4207 * Disallow downloading `FileUrl`s pointing at the local network by default by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4227 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.55.0...v1.56.0