Skip to content

pydantic-ai

v1.106.0 Feature

This release adds 2 notable features for engineering teams evaluating rollout.

βœ“ No known CVEs patched
Read the diff β†’ Tool health β†’ What is this tool? β†’

✓ No known CVEs patched in this version

Topics

agent-framework genai llm pydantic python

Summary

AI summary

Updates πŸš€ Features, πŸ› Bug Fixes, and messages across a mixed release.

Changes in this release

Feature Medium

Adds `api_host` and `timeout` options to XaiProvider.

Adds `api_host` and `timeout` options to XaiProvider.

Source: llm_adapter@2026-06-05

Confidence: high

β€”
Feature Medium

Adds `seed` mapping to xAI configuration.

Adds `seed` mapping to xAI configuration.

Source: llm_adapter@2026-06-05

Confidence: low

β€”
Feature Low

Maps base `seed` setting to xAI configuration.

Maps base `seed` setting to xAI configuration.

Source: granite4.1:30b@2026-06-05-audit

Confidence: low

β€”
Bugfix Medium

Fixes incomplete streamed response when `event_stream_handler` does not consume the stream.

Fixes incomplete streamed response when `event_stream_handler` does not consume the stream.

Source: llm_adapter@2026-06-05

Confidence: high

β€”
Bugfix Medium

Fixes crash in `from_data_uri` when processing a valid non‑base64 data URI.

Fixes crash in `from_data_uri` when processing a valid non‑base64 data URI.

Source: llm_adapter@2026-06-05

Confidence: high

β€”
Full changelog

What's Changed

πŸš€ Features

  • Map base seed setting to xAI by @colesmcintosh in https://github.com/pydantic/pydantic-ai/pull/5741
  • Add api_host and timeout to XaiProvider by @colesmcintosh in https://github.com/pydantic/pydantic-ai/pull/5742

πŸ› Bug Fixes

  • Fix incomplete streamed response when event_stream_handler doesn't consume the stream by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/5771
  • fix(messages): from_data_uri crashes on a valid non-base64 data URI by @devteamaegis in https://github.com/pydantic/pydantic-ai/pull/5779

New Contributors

  • @lonelyhty made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5759
  • @devteamaegis made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5779

Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v1.105.0...v1.106.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track pydantic-ai

Get notified when new releases ship.

Sign up free

About pydantic-ai

AI Agent Framework, the Pydantic way

All releases β†’

Related context

Earlier breaking changes

  • v1.95.0 rename β€˜built-in tools’ to β€˜native tools’, deprecate old fields, register via capabilities=[NativeTool(...)]

Beta — feedback welcome: [email protected]