pypi pydantic-ai 0.2.17
v0.2.17 (2025-06-12)

latest releases: 2.0.0b7, 1.107.0, 2.0.0b6...
12 months ago

What's Changed

  • Add token usage metrics to InstrumentedModel by @alexmojaki in #1898
  • Add service_tier to OpenAIModelSettings by @empezarcero in #1923
  • Allow users to supply httpx.AsyncClient in MCPServerHTTP by @mpfaffenberger in #1925
  • Don't send sampling settings like temperature and top_p to OpenAI reasoning models by @DouweM in #1956
  • Support field fileData (direct file URL) for GeminiModel and GoogleModel by @vricciardulli in #1136

New Contributors

Full Changelog: v0.2.16...v0.2.17

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.