Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: pydantic/pydantic-ai

v1.1.0 (2025-10-15)

15 Oct 15:26
6635272

Choose a tag to compare

Features in v1.1.0

Selected Features since v1.0.0

  • Support image generation and output with Google and OpenAI by @DouweM in #2970
  • Add Pydantic AI Gateway provider by @Kludex in #2816, #2863
  • Add support for previous_response_id from OpenAI Responses API by @GDaamn in #2756
  • Add support for durable execution with DBOS by @qianl15 in #2638
  • Built-in tool call streaming from OpenAI, Google, Anthropic by @DouweM in #2877
  • Support Anthropic built-in memory tool by @DouweM in #3042
  • Support text, JSON, XML and YAML DocumentUrl and BinaryContent on OpenAI by @pulphix in #2851
  • Added MCP metadata and annotations to ToolDefinition.metadata for use in filtering by @ChuckJonas in #2880
  • Let agent name be overridden contextually by @MinuraPunchihewa in #3094
  • Support contextually overriding agent instructions by @mwildehahn in #2926
  • Tools can now return AG-UI events separate from result sent to model by @DouweM in #2922
  • Add AgentRunResult.response convenience method to get latest model response by @DouweM in #2970
  • Add ModelResponse.text, thinking, files, images, tool_calls, and builtin_tool_calls convenience methods by @DouweM in #2970
  • Add Agent.run_stream_events() convenience method wrapping run(event_stream_handler=...) by @DouweM in #3084

Other Changes in v1.1.0

  • Record instructions on the agent run span even when they are dynamic by @dmontagu in #3131
  • Add description arg to tool function decorators by @zhcn000000 in #3153
  • fix(gateway): update base_url by @Kludex in #3164
  • Document OpenAI-compatible provider prefixes by @DouweM in #3169
  • Explicitly request image response modality from Google API when model supports it by @DouweM in #3172

New Contributors

Full Changelog: v1.0.18...v1.1.0

v1.0.18 (2025-10-13)

13 Oct 15:54
f3f40fe

Choose a tag to compare

What's Changed

  • Add render method to EvaluationReport class by @dmontagu in #3116
  • Omit previous_response_id when unset instead of sending null to OpenAI Responses by @DouweM in #3134
  • Include all API docs in llms.txt by @DouweM in #3152
  • Add anyio and httpcore to Temporal passthrough modules by @slumbi in #3147
  • Add Nebius AI Studio provider support by @antoncp in #3124
  • Add new ToolCallPart.id field for OpenAI Responses by @DouweM in #3151

New Contributors

Full Changelog: v1.0.17...v1.0.18

v1.0.17 (2025-10-09)

09 Oct 16:40
db93a9c

Choose a tag to compare

What's Changed

Full Changelog: v1.0.16...v1.0.17

v1.0.16 (2025-10-08)

08 Oct 16:21
d2a39f6

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.15...v1.0.16

v1.0.15 (2025-10-03)

03 Oct 23:40
3a041f1

Choose a tag to compare

What's Changed

  • Support image generation and output with Google and OpenAI by @DouweM in #2970
  • Add AgentRunResult.response convenience method to get latest model response by @DouweM in #2970
  • Add ModelResponse.text, thinking, files, images, tool_calls, and builtin_tool_calls convenience methods by @DouweM in #2970
  • Add Agent.run_stream_events() convenience method wrapping run(event_stream_handler=...) by @DouweM in #3084
  • Add content (e.g. files) returned by tool to FunctionToolResultEvent by @DouweM in #3082
  • Set MCPServer id and tool_prefix in load_mcp_servers by @DouweM in #3052
  • Add latest gemini 2.5 flash(-lite) model names and aliases by @moritzwilksch in #3060
  • Support enums in format_as_xml by @DouweM in #3064
  • Fix dataset serialization when inputs have discriminators with defaults by @DouweM in #3079
  • Fix parallel tool call limit enforcement by @tradeqvest in #2978

Full Changelog: v1.0.14...v1.0.15

v1.0.14 (2025-10-02)

02 Oct 23:55
4e60e9d

Choose a tag to compare

What's Changed

  • Remove leftover debug print statement by @KostyaGukish in #3070
  • Fix duplicate output tool return part when concatenating first run messages with follow-up new_messages by @DouweM in #3075

New Contributors

Full Changelog: v1.0.13...v1.0.14

v1.0.13 (2025-10-01)

02 Oct 01:12
51fec9f

Choose a tag to compare

What's Changed

  • feat: Otel instrumentation version 3 by @bitnahian in #3021
  • Don't send strict to HuggingFace API as it's not supported by their types and at least some models by @DouweM in #3062
  • Correctly merge Model.settings with model_settings in direct mode by @moritzwilksch in #2980
  • Expose server_info in MCPServer by @Whadup in #3055
  • Support contextually overriding agent instructions by @mwildehahn in #2926
  • Update evals attributes by @dmontagu in #2924

New Contributors

Full Changelog: v1.0.12...v1.0.13

v1.0.12 (2025-09-30)

01 Oct 00:14
3164cb2

Choose a tag to compare

What's Changed

  • Support Anthropic built-in memory tool by @DouweM in #3042
  • Support text, JSON, XML and YAML DocumentUrl and BinaryContent on OpenAI by @pulphix in #2851
  • Prefer structuredContent MCP tool result when present by @shaheerzaman in #2854
  • Expose .messages, .toolsets types in top-level pydantic_ai to aid IDE auto-import by @moritzwilksch in #2957
  • Add cost metric to the pydantic-evals output by @dmontagu in #2984
  • Add retry args to pydantic_evals.Dataset.evaluate_sync by @m7mdhka in #3022
  • Change type of common_tools to work with agent with any deps type by @lukekh in #3037
  • Don't error when Gemini returns more than one candidate response by @DouweM in #3043
  • Handle Ollama responses without finish_reason and document Ollama Cloud by @DouweM in #3045
  • Add custom Vertex AI Model Garden example by @stefannae in #2868
  • Fix StructuredDict with nested JSON schemas using $ref by @ChiaXinLiang in #2570

New Contributors

Full Changelog: v1.0.11...v1.0.12

v1.0.11 (2025-09-29)

30 Sep 00:25
bf03ed6

Choose a tag to compare

What's Changed

  • Support OpenAI image detail on ImageUrl and BinaryContent via vendor_metadata by @moritzwilksch in #2987
  • Support callable classes as history processors by @bitnahian in #2988
  • Add claude-sonnet-4-5 to known model names by @DouweM in #3033
  • Add operation.cost metric to instrumented models by @alexmojaki in #3013
  • Fix streaming gpt-oss using Ollama by @DouweM in #3035
  • Raise error when using Anthropic thinking with output tools by @DouweM in #3025
  • Make OutputObjectDefinition public on pydantic_ai.output by @moritzwilksch in #2991
  • Update pyproject.toml to be PEP639 compliant by @Kludex in #3001
  • Bump temporalio to 1.18.0 by @DouweM in #3027
  • Bump genai-prices to 0.0.28 by @DouweM in #3030
  • Document that Gemini requires native or prompted output mode for structured output streaming by @DouweM in #3032
  • Update Ollama docs instructions by @slkoo-cc in #2993
  • Update docs and tests for DBOS v2.0 by @qianl15 in #3004

New Contributors

Full Changelog: v1.0.10...v1.0.11

v1.0.10 (2025-09-19)

20 Sep 00:08
556bf56

Choose a tag to compare

What's Changed

  • Fix OTel for built-in tools returning a list (e.g. Anthropic web search) by @DouweM in #2959
  • Drop assertion that Google streaming chunk has candidates by @DouweM in #2960
  • Retry model request that produced an empty response by @DouweM in #2961
  • Clarify Agent(retries=...) description by @DouweM in #2963
  • Stop redundantly encoding binary data as base64 when sending to Google genai SDK by @DouweM in #2962
  • Use model class names as tags in format_as_xml and add option to include field titles and descriptions as attributes by @giacbrd in #2313

Full Changelog: v1.0.9...v1.0.10

Morty Proxy This is a proxified and sanitized view of the page, visit original site.