v1.26.0
pydantic/pydantic-aiv1.26.0Dec 3, 2025by DouweM
AI Summary
This release adds JSON object output support for Deepseek provider, clarifies FallbackModel behavior on ValidationError, and introduces support for latest Grok models with custom reasoning field support.
Key Highlights
- Support JSON object output for Deepseek provider
- Clarify FallbackModel behavior on ValidationError
- Add latest Grok (xAI) models
- Automatically omit TTL from cache_control when AnthropicModel is used with Bedrock
- Add custom reasoning field support to OpenAI model profiles
New Features
- JSON object output for Deepseek provider
- FallbackModel behavior clarification
- Latest Grok model support
- Automatic TTL omission for Bedrock cache_control
- Custom reasoning field support for OpenAI profiles
Full Release Notes
## What's Changed * Support JSON object output for Deepseek provider by @xcpky in https://github.com/pydantic/pydantic-ai/pull/3601 * Clarify `FallbackModel` behavior on `ValidationError`s by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/3603 * Add latest Grok (xAI) models by @darjeeling in https://github.com/pydantic/pydantic-ai/pull/3613 * Automatically omit TTL from `cache_control` when `AnthropicModel` is used with Bedrock client by @Wh1isper in https://github.com/pydantic/pydantic-ai/pull/3616 * Add custom reasoning field support to OpenAI model profiles by @ZeroAurora in https://github.com/pydantic/pydantic-ai/pull/3536 * Add `gateway/...:...` to Known Model Names by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/3593 ## New Contributors * @darjeeling made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3613 * @ZeroAurora made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3536 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.25.1...v1.26.0