v1.30.0

pydantic/pydantic-aiv1.30.0Dec 11, 2025by DouweM

AI Summary

This release adds prompt caching options to OpenAIChatModelSettings, introduces support for multi-modal output in LLMJudge, adds CerebrasModel support, and fixes several bugs including GraphBuildingError and BedrockConverseModel issues.

Key Highlights

  • Add prompt caching options to OpenAIChatModelSettings
  • Support multi-modal output in LLMJudge
  • Add CerebrasModel support
  • Fix GraphBuildingError when using g.stream multiple times
  • Fix BedrockConverseModel error when ModelResponse.parts is empty

New Features

  • Prompt caching options for OpenAI chat model settings
  • Multi-modal output support in LLMJudge
  • CerebrasModel integration
  • GraphBuildingError resolution for multiple stream calls
  • BedrockConverseModel stability improvements

Full Release Notes

## What's Changed
* Add prompt caching options to OpenAIChatModelSettings by @kichanyurd in https://github.com/pydantic/pydantic-ai/pull/3678
* Support multi-modal output in `LLMJudge` by @Clement-Lelievre in https://github.com/pydantic/pydantic-ai/pull/3696
* Add `CerebrasModel` by @sebastiand-cerebras in https://github.com/pydantic/pydantic-ai/pull/3486
* Fix `GraphBuildingError` when using `g.stream` multiple times by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/3695
* Fix `BedrockConverseModel` error when `ModelResponse.parts` is empty by @ffineis in https://github.com/pydantic/pydantic-ai/pull/3689
* Pin deno to v2.5.x by @DouweM in https://github.com/pydantic/pydantic-ai/pull/3700

## New Contributors
* @ffineis made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3689
* @sebastiand-cerebras made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3486
* @kichanyurd made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3678
* @Clement-Lelievre made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3696

**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.29.0...v1.30.0