github pydantic/pydantic-ai v0.7.5
v0.7.5 (2025-08-25)

latest releases: v1.72.0, v1.71.0, v1.70.0...
7 months ago

What's Changed

  • Handle 'STOP' finish_reason in GeminiStreamedResponse by @ArneZsng in #2631
  • Add price() method to ModelResponse by @Kludex in #2584
  • Include thoughts tokens in output_tokens for Google models by @alexmojaki in #2634
  • Add span_id and trace_id to EvaluationReport by @Kludex in #2627
  • Allow proper type on AnthropicProvider when using Bedrock by @akoshel in #2490
  • Use new OpenTelemetry GenAI chat span attribute conventions by @alexmojaki in #2349
  • Ensure content is always set for assistant tool call messages for OpenAI. by @vimota in #2641

New Contributors

Full Changelog: v0.7.4...v0.7.5

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.