Skip to content

Releases: pydantic/pydantic-ai

v1.70.0 (2026-03-17)

18 Mar 04:15
1344df7

Choose a tag to compare

What's Changed

πŸš€ Features

  • Add bedrock_inference_profile to BedrockModelSettings and BedrockEmbeddingSettings by @dsfaccini in #4697

πŸ› Bug Fixes

  • fix: OpenRouter Anthropic model profile matching for dotted model numbers by @majdalsado in #4690
  • fix: always pass embedding_types to Cohere embed() to prevent SDK TypeError by @adityasingh2400 in #4524
  • fix(google): add '512' as supported image generation size by @nat-bishop in #4649
  • fix(bedrock): sanitize tool names before sending to API by @DouweM in #4713
  • fix: handle malformed tool call args in Anthropic retry path by @Saad-Azi in #4431
  • fix: recover prior text for thinking-only responses instead of retrying by @majiayu000 in #4558

New Contributors

Full Changelog: v1.69.0...v1.70.0

v1.69.0 (2026-03-16)

17 Mar 02:44
529c049

Choose a tag to compare

What's Changed

πŸš€ Features

  • Add description parameter to Agent and set gen_ai.agent.description on span by @Kludex in #4677
  • Send multimodal tool results to APIs directly instead of splitting into user parts by @dsfaccini in #3826
  • Add response-based fallback support for FallbackModel by @sarth6 in #3786

πŸ› Bug Fixes

  • fix: enforce deps type on FunctionToolset.tool via tool/tool_plain split by @adtyavrdhn in #4626
  • fix: copy details dict in Usage.__add__ to prevent mutation of or… by @sksvineeth in #4606

Full Changelog: v1.68.0...v1.69.0

v1.68.0 (2026-03-12)

13 Mar 03:30
849b481

Choose a tag to compare

What's Changed

Changes

  • Remove redundant running tools parent span by @Kludex in #4560

πŸ› Bug Fixes

  • fix(openai): thinking detection for gpt-5.3-chat-latest by @dsfaccini in #4567
  • fix: AG-UI follow-up messages failing after built-in tool use by @gcheshkov in #4624

πŸ“¦ Dependencies

New Contributors

Full Changelog: v1.67.0...v1.68.0

What's Changed

πŸš€ Features

  • Remove redundant running tools parent span by @Kludex in #4560

πŸ› Bug Fixes

  • fix(openai): thinking detection for gpt-5.3-chat-latest by @dsfaccini in #4567
  • fix: AG-UI follow-up messages failing after built-in tool use by @gcheshkov in #4624

πŸ“¦ Dependencies

New Contributors

Full Changelog: v1.67.0...v1.68.0

v1.67.0 (2026-03-06)

06 Mar 22:31
15f2678

Choose a tag to compare

What's Changed

πŸš€ Features

  • Add GPT-5.4 support by @theadityarao in #4554
  • Support WebSearchTool for OpenRouterModel through OpenRouter plugins by @mochow13 in #4022
  • Rehaul Tavily search tool by @sarth6 in #4158
  • Enable native structured output support for Ollama provider by @OiPunk in #4536

πŸ› Bug Fixes

New Contributors

Full Changelog: v1.66.0...v1.67.0

v1.66.0 (2026-03-04)

05 Mar 00:45
d936d56

Choose a tag to compare

What's Changed

πŸš€ Features

  • Enable native structured output for Qwen 3.5 models by @ggozad in #4534
  • Add Nano Banana 2 (gemini-3.1-flash-image-preview) by @adtyavrdhn in #4525

πŸ› Bug Fixes

  • Fix builtin tool availability checking when using TemporalAgent with multiple models by @mattbrandman in #4100
  • Fix HasMatchingSpan YAML export/import round-trip for SpanQuery arguments by @debu-sinha in #4454

New Contributors

Full Changelog: v1.65.0...v1.66.0

v1.65.0 (2026-03-03)

03 Mar 23:37
9af5316

Choose a tag to compare

What's Changed

πŸš€ Features

πŸ› Bug Fixes

  • fix: add __reduce__ to exception classes for pickle support by @OiPunk in #4504

New Contributors

  • @OiPunk made their first contribution in #4504

Full Changelog: v1.64.0...v1.65.0

v1.64.0 (2026-03-02)

02 Mar 23:45
d48c553

Choose a tag to compare

What's Changed

πŸš€ Features

  • feat: support template=False on PromptedOutput and NativeOutput to disable schema prompt by @DouweM in #4497

πŸ› Bug Fixes

  • Fix missing run_id on ModelRequest in UI adapter runs by @madanlalit in #4419
  • Wrap Google streaming errors as ModelHTTPError/ModelAPIError by @saakshigupta2002 in #4437
  • fix(mcp): move __aexit__ guard inside lock to prevent TOCTOU race by @jameslcowan in #4435
  • fix: BaseToolCallPart.has_content() incorrectly returns False for falsy arg values by @bsherifi in #4442
  • fix(anthropic): auto-fallback to streaming for high max_tokens by @DouweM in #4496
  • fix(vercel): Align dump_messages output with Vercel spec by @dsfaccini in #4196
  • fix: cancel sibling tasks on any exception in parallel tool execution by @LakshmiSravyaVedantham in #4502

New Contributors

Full Changelog: v1.63.0...v1.64.0

v1.63.0 (2026-02-23)

23 Feb 17:47
bc7f6a2

Choose a tag to compare

What's Changed

πŸš€ Features

πŸ› Bug Fixes

  • Fix Temporal and DBOS MCP to use cached tools instead of fetching each time by @DouweM in #4331
  • Updated Cohere content item typing to fix the incompatibility by @DarthJuri in #4384
  • Fix Anthropic model on Bedrock incorrectly being treated as supporting json schema output by @vimota in #4369
  • fix(pydantic-evals): gracefully handle custom TracerProviders without add_span_processor by @AtharvaJaiswal005 in #4328
  • fix: use non-greedy regex in strip_markdown_fences to stop at closing fence by @sksvineeth in #4398
  • fix: add defaults for optional fields in OpenRouter streaming models by @majdalsado in #4371
  • Set BuiltinToolCallPart.id for OpenAI Responses WebSearch/FileSearch by @yipstar in #4391
  • fix: Identify new messages by run_id instead of index by @madanlalit in #4086

New Contributors

Full Changelog: v1.62.0...v1.63.0

v1.62.0 (2026-02-18)

19 Feb 04:47
a89292b

Choose a tag to compare

What's Changed

πŸš€ Features

  • Add tool approval integration for Vercel AI adapter by @bendrucker in #3772
  • Add LinePlot analysis type, ROCAUCEvaluator, and KolmogorovSmirnovEvaluator by @dmontagu in #4356

πŸ› Bug Fixes

  • Fix missing pages in llms.txt and llms-full.txt by @DouweM in #4355
  • Handle Groq tool_use_failed errors without tool name/args by retrying by @DouweM in #4354
  • fix: handle content filter refusals for Google prompt_feedback and OpenAI refusals by @DouweM in #4315

πŸ“¦ Dependencies

Full Changelog: v1.61.0...v1.62.0

v1.61.0 (2026-02-17)

18 Feb 01:32
a0733ec

Choose a tag to compare

What's Changed

πŸš€ Features

πŸ“¦ Dependencies

  • Upgrade anthropic to 0.80.0, add Claude Sonnet 4.6 by @DouweM in #4345

Full Changelog: v1.60.0...v1.61.0