github pydantic/pydantic-ai v1.23.0
v1.23.0 (2025-11-25)

latest releases: v1.66.0, v1.65.0, v1.64.0...
3 months ago

What's Changed

  • Add Anthropic built-in WebFetchTool support by @sarth6 in #3427
  • Allow user_prompt in HITL by @Wh1isper in #3528
  • Add anthropic_cache_messages model setting and automatically strip cache points over the limit by @Wh1isper in #3442
  • Add Gemini 3 Pro support to OpenRouterModel by @zeyuyuyu in #3548
  • Ensure openrouter_reasoning model setting is sent to API by @xcpky in #3545
  • Don't close custom httpx client provided to MCPServerHTTP by @DouweM in #3534
  • Fix double counting of request tokens in evals by @dmontagu in #3553
  • Fix pydantic_graph.beta.GraphRun GeneratorExit handling by @michgur in #3525
  • Add test to ensure we allow message history starting with assistant message (model response) by @restless in #3519
  • Remove README.md from wheel for pydantic-ai by @johnslavik in #3521
  • Upgrade Ruff to v0.14.6 by @Viicos in #3547
  • Use model_name property in OpenAIChatModel chat completion create request by @BBYNAI in #3543
  • Pin huggingface-hub to <1 by @Kludex in #3557
  • Add docs examples to use the Gateway aside from the gateway/<provider>:<model> shorthand by @dsfaccini in #3484

New Contributors

Full Changelog: v1.22.0...v1.23.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.