# Pydantic AI v2.79.0 adds media size limits, file conversion and Pax plan mode

published: 2026-12-04T17:05:36.162Z
topic: frameworks
source: https://github.com/pydantic/pydantic-ai/releases/tag/v2.79.0
url: https://aiagentnews.io/stories/pydantic-ai-v2-79-0-adds-media-size-limits-file-conversion-and-pax-plan-mode

Pydantic AI released v2.79.0 on December 4, 2026, with new file handling options, durable run changes and additions to its Pax tool. The release also changes several defaults, including loop detection and wrap-up limits in Coder and the permission mode in Pax.

The release adds FileSystem(max_media_bytes=), which sets the largest image, PDF or video that read_file returns as the file itself. A new ConvertFiles harness capability converts images a model cannot read into JPEG or PNG. Pax can also load a YAML or JSON agent spec file through pax --agent.

Several defaults change in this version. DetectLoops and WrapUpAtLimits are now on by default in Coder, with off switches, and auto becomes the default permission mode in Pax. Pax also renames its .clai/ paths, CLAI_* environment variables and pydantic_clai2_plugins namespace to .pax/, PAX_* and pax_plugins.

Bug fixes cover durable runs and model providers. BedrockConverseModel no longer sends botocore retries after a cancelled or timed-out request, and ModelFallback now falls back and retries responses with an empty finish_reason of error.

## Why it matters if you build agents

Agents that handle large media can cap what gets returned to the model, and unsupported image formats can be converted before the call. If your code relies on Coder's loop detection, its wrap-up limits or Pax's permission defaults, check them after upgrading.

Pax config and environment variables that use the old .clai/ and CLAI_* names need to move to the new names. Harness capability constructors now take keyword arguments, except for their subject, so existing positional calls may fail.
