v2.43.0

pydantic/pydantic-aiv2.43.0Sep 12, 2026by DouweM

Upgrading?

AI Summary

This release introduces a first-run banner for `clai` sessions and includes bug fixes for text part boundaries in the `OpenAIChatModel` and temporal tool opt-out checks.

Key Highlights

  • Added a first-run banner to describe the run and open `clai` sessions.
  • Fixed text part boundaries after tool calls in `OpenAIChatModel`.
  • Corrected temporal tool opt-out checks based on operation kind.

New Features

  • Add a first-run banner describing the run, and open `clai` sessions with it

Full Release Notes

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

## What's Changed
### 🚀 Features
* Add a first-run banner describing the run, and open `clai` sessions with it by @DouweM in https://github.com/pydantic/pydantic-ai/pull/7447
### 🐛 Bug Fixes
* Preserve text part boundaries after tool calls in `OpenAIChatModel` by @KaranJayakumar in https://github.com/pydantic/pydantic-ai/pull/8235
* fix(temporal): key tool opt-out checks on operation kind, not an MCP import by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/8257

## New Contributors
* @KaranJayakumar made their first contribution in https://github.com/pydantic/pydantic-ai/pull/8235

**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v2.42.0...v2.43.0

Related Repositories