github pydantic/pydantic-ai v0.3.6
v0.3.6 (2025-07-04)

latest releases: v1.70.0, v1.69.0, v1.68.0...
8 months ago

What's Changed

  • Deprecate {FunctionToolCallEvent,FunctionToolResultEvent}.call_id in favor of tool_call_id by @proever in #2028
  • Indicate to the model that a RetryPromptPart not tied to a tool call contains validation feedback rather than a user message by @hovi in #2008
  • Update starlette subdomain in docs by @alDuncanson in #2099
  • Update client.md - Typo by @kauabh in #2105
  • Add support for predicted outputs in OpenAIModelSettings by @webholics in #2106
  • Record tool response in tool run span by @alexmojaki in #2109
  • Use contextvars for agent overriding, rather than a local attribute by @dmontagu in #2118
  • Fix model parameters not being customized in fallback model request stream by @almeidaalajoel in #2120
  • simplify weather example by @samuelcolvin in #2129

New Contributors

Full Changelog: v0.3.5...v0.3.6

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.