pypi pydantic-ai 1.31.0
v1.31.0 (2025-12-11)

latest releases: 2.0.0b1, 1.100.0, 1.99.0...
5 months ago

What's Changed

  • Add prompt caching support for AWS Bedrock by @DenysMoskalenko in #3438
  • Add Agent.output_json_schema() method by @g-eoj in #3454
  • Allow custom clientInfo when connecting to MCP servers by @atinylittleshell in #3572
  • Add provider_url to ModelResponse and use it in cost() by @mahiro72 in #3648
  • Add GPT-5.2 and bump openai to v2.11.0 by @DouweM in #3713
  • Allow model to be a string in LLMJudge by @samuelcolvin in #3711
  • Fix OpenAIResponsesModel web search find_in_page action handling by @DouweM in #3709

New Contributors

  • @mahiro72 made their first contribution in #3648
  • @atinylittleshell made their first contribution in #3572

Full Changelog: v1.30.0...v1.31.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.