What's Changed
🚀 Features
- feat(evals): add
OnlineEvaluator.run_on_errorsto opt into evaluating failed calls by @dmontagu in #5456 - Split
GoogleProvider(vertexai=True|False)intoGoogleProvider+GoogleCloudProvider; rename provider IDgoogle-gla:togoogle:,google-vertex:togoogle-cloud:; deprecate old names by @dsfaccini in #5336 - Add
MCPToolsetthat usesfastmcp-slim[client], deprecateMCPServer*andFastMCPToolsetby @DouweM in #5325 - Set
ModelResponse.statetoincompletewhile response is still streaming by @adtyavrdhn in #5455 - Move
pydantic_graph.betaAPI out of beta, deprecate old API by @dmontagu in #5306
🆕 V2 Preparation
- Deprecate
stream_responses()forstream_response(); new singular yieldsModelResponseinstead of(ModelResponse, is_last)tuple by @dsfaccini in #5296 - Deprecate
Agent.to_a2a()and bundledfasta2aintegration;fasta2ahas been adopted by DataLayer and users can usefasta2a.pydantic_ai(requiresfasta2av0.6.1) instead by @dsfaccini in #5426
New Contributors
- @Quratulain-bilal made their first contribution in #5439
Full Changelog: v1.96.1...v1.97.0