# Pydantic AI v2.78.0 changes durable runs, fallback models and streaming

published: 2026-12-02T19:05:49.401Z
topic: frameworks
source: https://github.com/pydantic/pydantic-ai/releases/tag/v2.78.0
url: https://aiagentnews.io/stories/pydantic-ai-v2-78-0-changes-durable-runs-fallback-models-and-streaming

Pydantic AI v2.78.0 changes how durable runs, fallback models and streamed output behave, and several of the changes can break existing code. The release notes list compatibility steps for AWS Lambda, Absurd, pgtask, Temporal, Mistral and Bedrock users.

The release, dated 2026-12-02 on GitHub, changes how durable runs behave. On AWS Lambda, Absurd and pgtask, waits between polls of a background response or a batch now suspend the execution instead of sleeping in the process. CodeMode's max_duration_seconds limit is now off under every durable engine, not only Temporal, so time-bounded work should move into a tool.

Fallback handling also changes. FallbackModel and ModelFallback now move to the next model when a model's profile cannot serve a request, and they raise a FallbackExceptionGroup when every model is incapable. On Bedrock, failed AWS credential refreshes now raise ModelConnectionError, so except clauses that name botocore errors no longer match.

Streaming and output have changes too. After StreamedRunResult.cancel(), get_output() and stream_output() now raise UserError. On MistralModel, streamed content is now returned as text in some configurations, and the pax command prints non-string output as JSON when --output-format is used.

## Why it matters if you build agents

Teams using fallback chains, Bedrock error handling or Mistral streaming should review their except clauses and retry policies before upgrading. Durable runs already waiting on Lambda background responses or batches should finish before the deployment, because replayed mid-poll they fail as a non-deterministic replay.

Tests that compare output tool parts with == or snapshots will need the new tool_kind field, and scripts that parse pax output must now read JSON.
