v1.68.0

pydantic/pydantic-aiv1.68.0Mar 13, 2026by DouweM

AI Summary

Optimizes span hierarchy and fixes OpenAI thinking detection alongside AG-UI stability and dependency updates.

Key Highlights

  • Removed redundant `running tools` parent span
  • Fixed thinking detection for `gpt-5.3-chat-latest`
  • Fixed AG-UI follow-up messages failing after built-in tool use
  • Remediated Dependabot security alerts

New Features

  • Span hierarchy optimization

Full Release Notes

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

## What's Changed
### Changes
* Remove redundant `running tools` parent span by @Kludex in #4560
### 🐛 Bug Fixes
* fix(openai): thinking detection for `gpt-5.3-chat-latest` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4567
* fix: AG-UI follow-up messages failing after built-in tool use by @gcheshkov in https://github.com/pydantic/pydantic-ai/pull/4624
### 📦 Dependencies
* fix: remediate open Dependabot security alerts by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4520

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

**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.67.0...v1.68.0

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

## What's Changed
### 🚀 Features
* Remove redundant `running tools` parent span by @Kludex in https://github.com/pydantic/pydantic-ai/pull/4560
### 🐛 Bug Fixes
* fix(openai): thinking detection for `gpt-5.3-chat-latest` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4567
* fix: AG-UI follow-up messages failing after built-in tool use by @gcheshkov in https://github.com/pydantic/pydantic-ai/pull/4624
### 📦 Dependencies
* fix: remediate open Dependabot security alerts by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4520

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

**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.67.0...v1.68.0