Source: github.com/pydantic/pydantic-ai/releases/tag/v2.78.0
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.
Get stories like this every weekday
One short email with the day's agent tooling news.