pydantic-ai 1.97.0 released
Pydantic AI 1.97.0 adds `OnlineEvaluator.run_on_errors` so evals can now run on failed calls, and it changes Google provider setup by splitting `GoogleProvider(vertexai=True|False)` into `GoogleProvider` plus `GoogleCloudProvider` while renaming provider IDs from `google-gla:` to `google:` and `google-vertex:` to `google-cloud:`. It also introduces `MCPToolset` based on `fastmcp-slim[client]` and deprecates `MCPServer*` and `FastMCPToolset`, while setting `ModelResponse.state` to `incomplete` during streaming so builders can more accurately track in-progress responses.
pydantic-ai 1.97.0 is available. Release notes →
Pydantic AI 1.97.0 adds OnlineEvaluator.run_on_errors so evals can now run on failed calls, and it changes Google provider setup by splitting GoogleProvider(vertexai=True|False) into GoogleProvider plus GoogleCloudProvider while renaming provider IDs from google-gla: to google: and google-vertex: to google-cloud:.
It also introduces MCPToolset based on fastmcp-slim[client] and deprecates MCPServer* and FastMCPToolset, while setting ModelResponse.state to incomplete during streaming so builders can more accurately track in-progress responses.
What changed. 1.97.0 is the latest release.
Why it matters. Review the release notes for breaking changes before upgrading.
Builder takeaway. Pin your version or upgrade in a branch and run your eval suite before deploying.