github pydantic/pydantic-ai v0.7.2
v0.7.2 (2025-08-14)

latest releases: v1.58.0, v1.57.0, v1.56.0...
6 months ago

What's Changed

  • Let message history end on ModelResponse and execute pending tool calls by @DouweM in #2562
  • Ignore leading whitespace when streaming from Qwen or DeepSeek by @DouweM in #2554
  • Stop calling MCP server get_tools ahead of agent run span by @DouweM in #2545
  • Remove anthropic-beta default header set in AnthropicModel by @jerry-reevo in #2544
  • Add OllamaProvider by @DouweM in #2554
  • Add profile and settings to HuggingfaceModel by @DouweM in #2554
  • Ask model to try again if it produced a response without text or tool calls, only thinking by @ethanabrooks in #2556
  • Forward max_uses parameter to Anthropic WebSearchTool by @eballesteros in #2561

New Contributors

Full Changelog: v0.7.1...v0.7.2

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.