github pydantic/pydantic-ai v1.98.0
v1.98.0 (2026-05-18)

4 hours ago

What's Changed

🚀 Features

  • Add OpenAI Responses input token counting (OpenAIResponsesModel.count_tokens) by @colesmcintosh in #3951
  • Replace Agent tool_retries=/output_retries= with retries: int | AgentRetries by @Kludex in #5500

🐛 Bug Fixes

  • fix(mcp): Don't require fastmcp.server at runtime by @Kymi808 in #5514

🆕 V2 Preparation

  • Deprecate pydantic_ai.ext.aci (tool_from_aci and ACIToolset) by @dsfaccini in #5510

New Contributors

Full Changelog: v1.97.0...v1.98.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.