v1.62.0

pydantic/pydantic-aiv1.62.0Feb 19, 2026by DouweM

AI Summary

This release adds tool approval integration for Vercel AI adapter and introduces new evaluation types including LinePlot analysis, ROCAUCEvaluator, and KolmogorovSmirnovEvaluator. Bug fixes address documentation issues and error handling for Groq and content filter refusals.

Key Highlights

  • Add tool approval integration for Vercel AI adapter
  • Add LinePlot analysis type, ROCAUCEvaluator, and KolmogorovSmirnovEvaluator
  • Handle Groq tool_use_failed errors without tool name/args by retrying
  • Handle content filter refusals for Google prompt_feedback and OpenAI refusals
  • Update huggingface dependency to 1.3.4

New Features

  • Tool approval integration for Vercel AI adapter
  • LinePlot analysis type
  • ROCAUCEvaluator
  • KolmogorovSmirnovEvaluator

Full Release Notes

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

## What's Changed
### 🚀 Features
* Add tool approval integration for Vercel AI adapter by @bendrucker in https://github.com/pydantic/pydantic-ai/pull/3772
* Add LinePlot analysis type, ROCAUCEvaluator, and KolmogorovSmirnovEvaluator by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/4356
### 🐛 Bug Fixes
* Fix missing pages in llms.txt and llms-full.txt by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4355
* Handle Groq `tool_use_failed` errors without tool name/args by retrying by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4354
* fix: handle content filter refusals for Google `prompt_feedback` and OpenAI refusals by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4315
### 📦 Dependencies
* bump `huggingface` to 1.3.4 by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4119
* Use `griffelib` instead of `griffe` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4313


**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.61.0...v1.62.0