github pydantic/pydantic-ai v1.3.0
v1.3.0 (2025-10-22)

latest releases: v1.60.0, v1.59.0, v1.58.0...
3 months ago

What's Changed

  • Raise IncompleteToolCall when token limit is reached during generation of tool call by @erhuve in #3137
  • Include evals report averages in span attributes by @cetra3 in #3053
  • Make AbstractBuiltinTool serializable and work with durable execution by @DouweM in #3176
  • Ignore empty text deltas when streaming gpt-oss on Bedrock by @DouweM in #3215
  • Ignore empty text deltas when streaming gpt-oss via Ollama by @DouweM in #3216
  • docs: Replace deprecated Cohere model 'command' with 'command-r7b-12-… by @sijanonly in #3201
  • Include all usage fields in OTel attributes by @DouweM in #3221
  • Correct Prefect .serve example by @desertaxle in #3192
  • Ensure toolset spans (e.g. MCP sampling) are nested under agent run span by @DouweM in #3224
  • Update genai-prices, fix default api_flavor, fixes anthropic usage extraction by @alexmojaki in #3226
  • feat(gateway): support AWS Bedrock by @Kludex in #3203
  • Add OVHcloud AI Endpoints provider by @eliasto in #3188
  • Use gateway/<upstream_provider>: as provider name prefix for Gateway by @DouweM in #3229
  • Add http_client option to GoogleProvider, support api_key for Vertex AI, and use Pydantic AI's cached httpx client by default by @DouweM in #3217

New Contributors

Full Changelog: v1.2.0...v1.3.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.