v1.104.0

pydantic/pydantic-aiv1.104.0May 29, 2026by dsfaccini

AI Summary

This release adds support for the latest Claude Opus model and fixes routing issues for hybrid OpenRouter/xAI/Bedrock calls.

Key Highlights

  • Added support for Claude Opus 4.8.
  • Fixed `thinking=False` forwarding in hybrid routes.
  • Fixed Bedrock single-tool `tool_choice` cache preservation.

New Features

  • Add Claude Opus 4.8 support

Full Release Notes

<!-- Release notes generated using configuration in .github/release.yml at main -->

## What's Changed
### 🚀 Features
* Add Claude Opus 4.8 support by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5709
### 🐛 Bug Fixes
* Forward `thinking=False` on hybrid OpenRouter/xAI/Bedrock routes, aligning silent-drop with direct routes by @sarth6 in https://github.com/pydantic/pydantic-ai/pull/5433
* Fix Bedrock single-tool `tool_choice` cache preservation by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5674


**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.103.0...v1.104.0