github pydantic/pydantic-ai v1.0.3
v1.0.3 (2025-09-10)

latest releases: v1.59.0, v1.58.0, v1.57.0...
5 months ago

What's Changed

  • Include thinking parts in subsequent model requests to improve performance and cache hit rates by @DouweM in #2823
  • Add on_complete callback to AG-UI functions to get access to AgentRunResult by @ChuckJonas in #2429
  • Support ModelSettings.seed in GoogleModel by @DouweM in #2842
  • Add with agent.sequential_tool_calls(): contextmanager and use it in DBOSAgent by @DouweM in #2856
  • Ensure ModelResponse fields are set from actual model response when streaming by @DouweM in #2848
  • Send AG-UI thinking start and end events by @DouweM in #2855
  • Support models that return output tool args as {"response': "<JSON string>"} by @shaheerzaman in #2836
  • Support NativeOutput with FunctionModel by @DouweM in #2843
  • Raise error when WebSearchTool is used with OpenAIChatModel and unsupported model by @safina57 in #2824

New Contributors

Full Changelog: v1.0.2...v1.0.3

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.