Vibeleaderboard
← All Intel
Intel / repo

pydantic-ai v2.78.0 — v2.78.0 (2026-12-02)

Source
github.com
Publisher
Pydantic
Author
dsfaccini
Date
Why it matters

A for_run now sees workspaces supplied by capability functions, which can add steps to in-flight durable runs and break wrapped factories in pax. Check the compatibility notes before upgrading.

Key takeaways · AI-distilled
  • On Temporal, a FallbackModel whose models all failed with retryable errors such as rate limits or outages is now retried by the activity's retry policy instead of failing at once; adding FallbackExceptionGroup to non_retryable_error_types restores the old behavior.
  • WrapUpAtLimits now returns a wrapped-up answer when the next step is projected not to fit a cost_limit or the run's timeout, instead of raising UsageLimitExceeded or RunTimedOut.
  • A request a 's profile cannot serve now raises ModelFeatureUnsupportedError, and FallbackModel moves on to the next model instead of raising, so custom fallback_on and retry_on predicates and error hooks now see this error too.
  • On AWS Lambda, Absurd and pgtask, waits between polls of a background response or batch now suspend the execution instead of sleeping in-; the notes say Lambda runs waiting mid-poll should finish before upgrading, since their replay fails.
Terms in this piece · Glossary
  • Durable agent execution — Persisting agent state so long-running work can resume after interruption.
  • Sandbox — An enforced restriction that confines a process to specified files, network destinations and other resources, applied by the operating system, a container or a virtual machine.
  • Model — A computational system that uses learned patterns to produce an output from information supplied to it.
  • Process — A running instance of a program, with its own working memory, open files and identity.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

More from dsfaccini
Recommended reads