chore(deps): bump the python-minor-patch group with 6 updates

DE
12h ago
+46-45

Bumps the python-minor-patch group with 6 updates:

PackageFromTo
httpx0.28.10.29.0
langchain-core1.8.41.8.5
pydantic-ai-slim2.71.02.76.0
openai3.57.03.60.0
pydantic-ai2.71.02.76.0
ty0.0.1070.0.112

Updates httpx from 0.28.1 to 0.29.0

Release notes

Sourced from httpx's releases.

Version 0.29.0 (26 November, 2026)

  • Minimum supported Python version is now 3.10 (#3832)
  • Expose FunctionAuth from the public API. (#3699)
Changelog

Sourced from httpx's changelog.

0.29.0 (26 November, 2026)

  • Minimum supported Python version is now 3.10

Added

  • Expose FunctionAuth from the public API. (#3699)
Commits

Updates langchain-core from 1.8.4 to 1.8.5

Release notes

Sourced from langchain-core's releases.

langchain-core==1.8.5

Changes since langchain-core==1.8.4

release(core): 1.8.5 (#42103) fix(core): reuse provider message id on later stream chunks (#42050) docs(core): clarify v3 runtime warning behavior (#42040) docs(core): clarify supported streaming event APIs (#42038) release(standard-tests): 1.2.0 (#41996) release(text-splitters): 1.2.0 (#41998) chore(deps): bump mistune from 3.3.3 to 3.3.4 in /libs/core (#41968)

Commits

Updates pydantic-ai-slim from 2.71.0 to 2.76.0

Release notes

Sourced from pydantic-ai-slim's releases.

v2.76.0 (2026-11-26)

What's Changed

⚠️ Compatibility Notes

  • Reveal tools mid-session in realtime sessions on models that take tool updates, via RealtimeModelProfile.supports_tool_updates and UpdateTools by @​DouweM in pydantic/pydantic-ai#12440
    • RealtimeInput, the union RealtimeConnection.send accepts, gains UpdateTools, and DEFAULT_REALTIME_PROFILE gains supports_tool_updates: False. A session sends UpdateTools only to a connection whose model's profile sets supports_tool_updates, so an existing connection never receives it, but an exhaustive match over RealtimeInput (assert_never) stops type-checking. Handle UpdateTools there, or raise for it.
  • Warn with DeprecatedModelWarning on requests to gemini-2.5-pro and gemini-2.5-flash by @​dsfaccini in pydantic/pydantic-ai#14679
    • A request to gemini-2.5-pro or gemini-2.5-flash through GoogleModel or GoogleInteractionsModel now emits DeprecatedModelWarning, a UserWarning, so code that turns warnings into errors, such as filterwarnings = error, fails on those requests. Move to the replacement the warning names, or keep the model meanwhile by filtering the warning or setting profile={'deprecation': None}.
  • Select a word on double-click and a line on triple-click in pax by @​dsfaccini in pydantic/pydantic-ai#14558
    • Selection.feed, span, highlight and text in pydantic_ai_pax.ui.prompt.prompt_selection take new arguments: feed takes the press time as now, span takes the painted frame and the soft-wrap flags joins in place of width, and highlight and text take joins. A drag across a row the panel wrapped no longer copies a newline at the wrap.
  • Add /computer-use desktop sandboxes to Pax by @​adtyavrdhn in pydantic/pydantic-ai#14564
    • A Pax plugin status segment may now return a StatusLink, which the status row shows as a clickable link, as well as a str. A segment that returns str works as before.
  • Add a pydantic-ai-pax extra for every model provider, plus all, and install the Google SDK by default by @​DouweM in pydantic/pydantic-ai#14614
    • pydantic_ai_pax.cli.self_update.PACKAGES, the packages /update reinstalls, now asks for pydantic-ai-slim[anthropic,google,mcp,openai], following Pax's default install, which now includes the Google SDK. No migration is needed.
  • Keep every message a run adds in result.conversation when a capability trims the history mid-run by @​DouweM in pydantic/pydantic-ai#13211
    • An app that carries result.conversation into the next run in memory, with a capability that summarizes the history (SummarizingCompaction, RelevanceCompaction), now has the full history summarized on each run instead of carrying the last summary. To carry the compacted history instead, pass result.all_messages() as message_history=, saving result.conversation to a store first if you want to keep the dropped messages. In UI adapters in server mode with a trimming capability, ReinjectSystemPrompt now stores the run's own request with the system prompt at its head instead of a copied turn.
  • Make FileSystem read_file offset 1-indexed by @​adtyavrdhn in pydantic/pydantic-ai#13250
    • FileSystemToolset.read_file(..., offset=N) called from Python, and ReadFileArgs or ReadFileCallPart built with an explicit offset, now start one line earlier, and offset=0 raises (a retry for models). Where you pass offset=N, pass N + 1; find those calls with grep -rn "read_file(.*offset" ..

🚀 Features

🐛 Bug Fixes

Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v2.75.0...v2.76.0

v2.75.0 (2026-11-25)

... (truncated)

Changelog

Sourced from pydantic-ai-slim's changelog.


description: "Pydantic AI upgrade guide and changelog: the breaking changes in each release, how to install V2, and the recommended path to migrate your code from V1."

Upgrade Guide

In September 2025, Pydantic AI reached V1 and committed to API stability: no changes that break your code until V2. V2 is now available, collecting the breaking and behavior changes that stability guarantee didn't allow. This guide is the canonical place to learn what's in V2, how to install it, and how to upgrade; for the guarantees behind these version numbers, see the Version Policy.

Deprecations

Functionality deprecated in a V2 release keeps working until V3, and using it raises a PydanticAIDeprecationWarning naming its replacement. Resolving these as they appear is the smooth path to the next major, the same way resolving V1's warnings was the smooth path to this one.

Deprecated in V2, to be removed in V3

  • Calling a [RunUsage][pydantic_ai.usage.RunUsage], as in V1's result.usage(), returns that same usage and warns. usage became a property in V2, and the call used to raise TypeError: 'RunUsage' object is not callable, which code that wraps usage accounting in except Exception turned into silently zero usage. Drop the parentheses: result.usage.
  • [RetryPromptPart][pydantic_ai.messages.RetryPromptPart] is deprecated in favor of the two parts it conflated: a retry that answers a tool call is that call's own [ToolReturnPart][pydantic_ai.messages.ToolReturnPart] with outcome='retried', and one that answers no tool call is a [RetryFeedbackPart][pydantic_ai.messages.RetryFeedbackPart]. The old part reached the model as bare user text in the second case, which the model couldn't tell from something a person wrote (#6404, #7799). Pydantic AI no longer emits it, and constructing one warns.
    • What keeps working: a 'retry-prompt' part in a serialized history loads as whichever of the two it always meant, and an instance your own code holds, including one handed back through [DeferredToolResults][pydantic_ai.tools.DeferredToolResults], is translated the same way before it reaches a model. The direct helpers send it in that new shape too. Calling [Model.request()][pydantic_ai.models.Model.request] or [Model.count_tokens()][pydantic_ai.models.Model.count_tokens] yourself skips that translation but still works: a tool-bound one goes out as that call's retried result, and a tool-less one as the user text it always rendered as. [sanitize_messages][pydantic_ai.messages.sanitize_messages] keeps client-returned retry feedback: it translates a tool-less one into the RetryFeedbackPart it always meant, keeps a 'validation_error' or 'model_retry' part as sent (it reaches the model fenced, in the user voice), and demotes a 'no_output' part, the one cause rendered in the system voice, to that same fenced, attributed user text, since a client can forge it; pass strip_system_prompts=False to keep a 'no_output' part as sent.
    • What you need to change: isinstance(part, RetryPromptPart) no longer matches, in new runs or in loaded histories, so code that finds tool errors that way silently finds none (v2.60.0). Use [is_retry(https://github.com/pydantic/pydantic-ai/blob/main/docs/part)][pydantic_ai.messages.is_retry] instead, which matches both https://github.com/pydantic/pydantic-ai/blob/main/docs/parts above (on a release that predates it, check isinstance(https://github.com/pydantic/pydantic-ai/blob/main/docs/part, RetryFeedbackPart) or (isinstance(https://github.com/pydantic/pydantic-ai/blob/main/docs/part, ToolReturnPart) and https://github.com/pydantic/pydantic-ai/blob/main/docs/part.outcome == 'retried')), as in Finding tool errors in history. Each records why the retry happened, and which attempt it is against which limit, in a [RetryInfo][pydantic_ai.messages.RetryInfo] on its retry field, which tool spans also carry as pydantic_ai.tool.retry.* attributes. [ToolRetryError.tool_retry][pydantic_ai.exceptions.ToolRetryError] holds one of those two parts, so read tool_name off it only after checking for a ToolReturnPart.
    • What the model now sees: a tool retry carries the serialized validation errors or the ModelRetry message, with no N validation errors: header and no Fix the errors and try again. suffix. One that answers no call arrives in the voice its cause calls for: validation errors and a ModelRetry message in the user voice, inside a <pyai:validation_errors> or <pyai:retry_feedback> fence behind one line saying the application, not the user, is speaking, and the framework's fixed request for usable output in the system voice. v2.68.0 renamed those fences from <validation_errors> and <retry_feedback> (#11813), so code that matches them in stored or logged prompts has to match the new names, and made such feedback count as something the framing announcement explains: by default, a conversation that didn't have the announcement yet gets it from its first fenced retry on, as a system message on models with a mid-conversation system role and at the start of the system prompt, when there is one, on the rest. On providers without a native tool error channel, a retried tool call's validation errors go in the {"error": ...} wrapper as a JSON array rather than as a string holding one, and Anthropic and Bedrock get them as one text block. Client-returned retry feedback is kept by [sanitize_messages][pydantic_ai.messages.sanitize_messages] and the UI adapters rather than stripped, and a 'no_output' part among it goes out as fenced user text rather than in the system voice. Retries in a history stored before upgrading are rendered the new way too, since rendering happens when each request goes out, so a conversation's first request after upgrading misses the provider's prompt cache from its first retry onward, once. A [decision model][pydantic_ai.models.decision.DecisionModel] judges a retried tool call as that call's tool_return, where it had a retry entry. On ag-ui-protocol below 0.1.11, [AGUIAdapter.dump_messages][pydantic_ai.ui.ag_ui.AGUIAdapter.dump_messages] now also warns on a run that retried its own output. See Retries.
    • Vercel AI dumps keep a request's part order: [VercelAIAdapter.dump_messages][pydantic_ai.ui.vercel_ai.VercelAIAdapter.dump_messages] now writes a ModelRequest as one UIMessage per run of same-role parts, in the order they were authored, instead of putting every system part first. This applies with no retries at all: a request holding an enqueued SystemPromptPart after its UserPromptPart now dumps as a user message followed by a system message, and positional message ids shift with it. The request's metadata rides on its last user message, or its last message when it has none.
  • Reading pydantic_ai.models.anthropic.DEPRECATED_ANTHROPIC_MODELS returns the same model ids and warns. Pydantic AI no longer uses it: [AnthropicModelName][pydantic_ai.models.anthropic.AnthropicModelName] is a curated list, and the Anthropic SDK no longer lists the retired ids it excluded. Keep your own list of retired model ids, from Anthropic's model deprecations page.

Catching up across V2 minor releases

If you're upgrading across several V2 minor releases at once, these are the changes since v2.0.0 that can make existing code behave differently. Each one is listed under the release that shipped it, newest first, with a link to its pull request. They come from the "Compatibility Notes" section of each release's notes on GitHub Releases, which also lists the bug fixes and features of each release.

Release notes have had a Compatibility Notes section since v2.33.0, so for v2.1.0 through v2.32.2, read each release's notes on GitHub Releases. Later releases not listed below have no compatibility notes.

v2.75.0

  • Keep workspace files below 'operator' authority out of the instructions in [RepoContext][pydantic_ai_harness.repo_context.RepoContext], [Skills][pydantic_ai_harness.skills.Skills] and [Memory][pydantic_ai_harness.memory.Memory], and add [lowest_authority_under][pydantic_ai.workspaces.lowest_authority_under]. Text from a workspace file below 'operator' authority no longer reaches the instructions: RepoContext names the working directory's file for the model to read with its file tools and sends an ancestor's file as framed data, Skills offers such skills through list_skills and load_skill tools instead of load_capability, and Memory attributes such a snapshot to its MEMORY.md. Files at 'operator', the default, are unchanged. Durable runs now record extra realpath workspace calls at run start, so let in-flight runs finish, or use Temporal worker versioning or a new DBOS app version, before upgrading. RepoContext(autoload_instructions=False) with nested instruction files misses the prompt cache once on the first request after upgrading (#11837)
  • Raise empty and unreadable model responses as [ModelEmptyResponseError][pydantic_ai.exceptions.ModelEmptyResponseError] and [ModelInvalidResponseError][pydantic_ai.exceptions.ModelInvalidResponseError], so [FallbackModel][pydantic_ai.models.fallback.FallbackModel] and [ModelFallback][pydantic_ai.capabilities.ModelFallback] fall back on them. With their default fallback_on, FallbackModel and ModelFallback now fall back on an empty stream, an OpenAI Chat completion without choices, and an OpenAI Chat body that isn't JSON or doesn't match the schema, where the run used to raise [UnexpectedModelBehavior][pydantic_ai.exceptions.UnexpectedModelBehavior]. Both new errors subclass [ModelAPIError][pydantic_ai.exceptions.ModelAPIError] and UnexpectedModelBehavior, so except UnexpectedModelBehavior still catches them, but an except ModelAPIError placed before it now takes them; an empty Mistral or OpenAI choices raises one instead of AssertionError or IndexError. To keep raising instead of falling back, pass a fallback_on that leaves them out, such as lambda e: isinstance(e, ModelAPIError) and not isinstance(e, UnexpectedModelBehavior) (#12108)
  • Resolve Pax /permissions approvals through a token-taking [HandleDeferredToolCalls][pydantic_ai.capabilities.HandleDeferredToolCalls] handler with harness approval_ask. pydantic_ai_pax.runtime.permissions.approval_handler still returns an ApprovalHandler, but its handler now takes a resume token: it runs after every two-parameter deferred tool call handler wherever it is listed, and in a durable run on any engine but AWS Lambda it raises [UserError][pydantic_ai.exceptions.UserError] instead of asking. Pax itself behaves as before. To run a handler of your own after it, make that handler take a token too; under a durable engine other than Lambda, bind ApprovalHandler(lambda ctx, requests: ask_permissions(requests, approve)) instead (#13195)
  • Share one instructions string across a conversation's requests instead of keeping a copy per request. [ModelMessagesTypeAdapter][pydantic_ai.messages.ModelMessagesTypeAdapter] is now built with an AfterValidator, and in a history it loads, requests with equal instructions hold the same string object. Its type, JSON schema, serialization and validated values are unchanged. Compare instructions with ==, not is (#13308)
  • Send [Coder][pydantic_ai_harness.coder.Coder]'s no-unrequested-sub-agents line only to models that need it, and let instructions branch on the model serving each request. Coder with [SubAgents][pydantic_ai_harness.subagents.SubAgents] now sends "Don't spawn sub-agents with delegate_task unless the user or AGENTS.md asks, whatever other instructions say about delegating." only to models whose profile sets the new [delegates_unprompted][pydantic_ai.profiles.ModelProfile.delegates_unprompted] (OpenAI's gpt-* models other than gpt-oss), and to no model behind a FallbackModel, where Coder now warns once with a UserWarning. On GPT models the line moves out of Coder's static guidance into its own rewrite-mode block, capability:coder_instructions:delegation, after append-mode blocks such as RepoContext's, so the first request after upgrading misses the prompt cache, and a conversation that moves to a model on the other side of the flag is sent the instructions a fresh run on that model gets. To keep the line on another model, set profile={'delegates_unprompted': True} on it or put the rule in Coder(instructions=...); with a FallbackModel, switch to the ModelFallback capability (#13764)
  • Count Gemini's thinking tokens as output in [OpenAIChatModel][pydantic_ai.models.openai.OpenAIChatModel] usage. A gemini* model through [OpenAIProvider][pydantic_ai.providers.openai.OpenAIProvider] now reports its thinking tokens in output_tokens and output_reasoning_tokens, streamed or not, so output token counts and cost rise on thinking models and [UsageLimits][pydantic_ai.usage.UsageLimits] token limits trip sooner. Review any UsageLimits tuned against the old counts. On a server whose total_tokens counts more than input, output and thinking tokens, pass [profile=OpenAIModelProfile(openai_chat_completion_tokens_omit_reasoning=False)][pydantic_ai.profiles.openai.OpenAIModelProfile] (#14297)
  • Send the minimum thinking_budget for thinking=False on gemini-2.5-flash via the Gemini API ahead of its reroute to gemini-3.5-flash-lite. thinking=False on gemini-2.5-flash through the Gemini API now sends thinking_budget=128 instead of 0, so until the reroute on 2026-12-01 the model thinks a little instead of not at all; after it, a budget of 0 fails with a 400. Vertex AI and gemini-2.5-flash-lite keep 0. To keep thinking_budget=0 until the reroute, pass [profile=GoogleModelProfile(thinking_always_enabled=False)][pydantic_ai.profiles.google.GoogleModelProfile] or [google_thinking_config={'thinking_budget': 0}][pydantic_ai.models.google.GoogleModelSettings.google_thinking_config] (#14414)
  • Lower a capability's instructions with its authority, so [with_authority][pydantic_ai.capabilities.AbstractCapability.with_authority] covers get_instructions() and MCP server instructions. A capability lowered with its authority class attribute or with_authority(), including an [MCP][pydantic_ai.capabilities.MCP] capability and its server instructions, now sends its instructions as framed data on the user channel instead of in the system prompt. Capabilities at 'operator', the default, are unchanged; to keep the old behavior, leave the capability at 'operator'. Runs already lowering an MCP capability with with_authority that are in flight across the upgrade may hit a nondeterminism error on Temporal or DBOS if another MCP server follows it. Under Prefect, a flow retried across the upgrade re-runs a finished model request once (#14457)

v2.74.0

  • Add the computer tool contract to core: pydantic_ai.computer_use and [ComputerTool][pydantic_ai.native_tools.ComputerTool]. Adds ComputerTool to NATIVE_TOOLS_REQUIRING_CONFIG: it needs a computer tool to run its calls (#11006)
  • Send static instructions as leading input messages on GPT-6.2, which never caches top-level instructions. Continuing a GPT-6.2 response through an explicit [openai_previous_response_id='resp_…'][pydantic_ai.models.openai.OpenAIResponsesModelSettings.openai_previous_response_id] without its message_history now inherits that response's static instructions. Pass the message_history, or [profile=OpenAIModelProfile(openai_responses_stable_instructions_as_input=False)][pydantic_ai.profiles.openai.OpenAIModelProfile] (#14095)
  • Stop summing Gemini's running usage totals when streaming through [OpenAIChatModel][pydantic_ai.models.openai.OpenAIChatModel]. Streaming a gemini* model through [OpenAIProvider][pydantic_ai.providers.openai.OpenAIProvider] now reports the endpoint's final usage totals instead of their sum, so cost figures drop and [UsageLimits][pydantic_ai.usage.UsageLimits] token limits trip later (#14285)
  • Under an enforced egress policy (the default), [PlaywrightBrowser][pydantic_ai_harness.playwright.PlaywrightBrowser] pages no longer have RTCPeerConnection, WebTransport, WebSocketStream or FedCM, and browsers it launches start with those Blink features off. If your agent needs one of them, open an issue: a parameter that keeps them can be added (#14363)

v2.73.0

  • Warn with [DeprecatedModelWarning][pydantic_ai.exceptions.DeprecatedModelWarning] when a request targets a model Anthropic or OpenAI has deprecated (#14038)
  • Surface OpenAI Responses input_transformations in [provider_details][pydantic_ai.messages.ModelResponse.provider_details] and on the model request span. Raises the openai floor from 3.31.0 to 3.50.0 on every extra that installs openai (#14056)

... (truncated)

Commits
  • cdb587e Raise ModelSchemaTooComplexError for Anthropic's "Schema is too complex" 40...
  • a53b281 Raise UserError for immediate capability events in a Render child task (#14...
  • 269ed79 Check that capability parts and instruction ids survive every durable engine'...
  • 1ae3f6f Raise IncompleteToolCall when the token limit cuts off an Anthropic output ...
  • df73c99 Pin that ConversationStore.save stores a server tool return once when a run...
  • 885670a Publish the agent spec parameters of AskUser, IPythonCodeMode, `PromptInj...
  • f90a9ad [complexity] Record run event streams, AgentStream calls and spans in `test...
  • 4c1228c Warn with DeprecatedModelWarning on requests to gemini-2.5-pro and `gemin...
  • fe60ee1 Add adapter rules for stream request boundaries and *_UNSPECIFIED enum valu...
  • f62cc26 Stop Temporal and Prefect from retrying UsageLimitExceeded (#14205)
  • Additional commits viewable in compare view

Updates openai from 3.57.0 to 3.60.0

Release notes

Sourced from openai's releases.

v3.60.0

3.60.0 (2026-11-26)

Features

  • api: add spend alerts and response compaction fields (#4335) (4713afd)
  • api: support updating session vaults (#4334) (c386f19)

Chores

  • api: clarify message retries and Batch endpoints (#4333) (b5b55ab)
  • api: clarify Realtime audio noise reduction (#4331) (6626656)
  • api: correct metadata documentation (#4328) (aff223d)
  • api: document inline skill upload limits (#4300) (621fd09)

v3.59.0

3.59.0 (2026-11-24)

Features

  • api: add healthcare model IDs for Responses (#4327) (804a9af)

Bug Fixes

  • check the agent upload directory after path resolution (#4323) (bc02da4)
  • redact credential headers on API error requests (#4316) (9d7f58e)
  • reject empty webhook signing keys (#4321) (dd69803)
  • reject non-finite numbers in agent tool arguments (#4326) (abbd379)
  • use bearer authentication for beta Realtime sessions (#4317) (7596fb8)

Documentation

  • explain how to skip duplicate webhook events (#4325) (6805f05)

v3.58.0

3.58.0 (2026-11-23)

Features

  • api: set and read agent session spending limits (#4315) (fc36aef)

Bug Fixes

... (truncated)

Changelog

Sourced from openai's changelog.

3.60.0 (2026-11-26)

Features

  • api: add spend alerts and response compaction fields (#4335) (4713afd)
  • api: support updating session vaults (#4334) (c386f19)

Chores

  • api: clarify message retries and Batch endpoints (#4333) (b5b55ab)
  • api: clarify Realtime audio noise reduction (#4331) (6626656)
  • api: correct metadata documentation (#4328) (aff223d)
  • api: document inline skill upload limits (#4300) (621fd09)

3.59.0 (2026-11-24)

Features

  • api: add healthcare model IDs for Responses (#4327) (804a9af)

Bug Fixes

  • check the agent upload directory after path resolution (#4323) (bc02da4)
  • redact credential headers on API error requests (#4316) (9d7f58e)
  • reject empty webhook signing keys (#4321) (dd69803)
  • reject non-finite numbers in agent tool arguments (#4326) (abbd379)
  • use bearer authentication for beta Realtime sessions (#4317) (7596fb8)

Documentation

  • explain how to skip duplicate webhook events (#4325) (6805f05)

3.58.0 (2026-11-23)

Features

  • api: set and read agent session spending limits (#4315) (fc36aef)

Bug Fixes

  • api: clarify when to omit completion choice count (#4298) (f63f14b)
Commits

Updates pydantic-ai from 2.71.0 to 2.76.0

Release notes

Sourced from pydantic-ai's releases.

v2.76.0 (2026-11-26)

What's Changed

⚠️ Compatibility Notes

  • Reveal tools mid-session in realtime sessions on models that take tool updates, via RealtimeModelProfile.supports_tool_updates and UpdateTools by @​DouweM in pydantic/pydantic-ai#12440
    • RealtimeInput, the union RealtimeConnection.send accepts, gains UpdateTools, and DEFAULT_REALTIME_PROFILE gains supports_tool_updates: False. A session sends UpdateTools only to a connection whose model's profile sets supports_tool_updates, so an existing connection never receives it, but an exhaustive match over RealtimeInput (assert_never) stops type-checking. Handle UpdateTools there, or raise for it.
  • Warn with DeprecatedModelWarning on requests to gemini-2.5-pro and gemini-2.5-flash by @​dsfaccini in pydantic/pydantic-ai#14679
    • A request to gemini-2.5-pro or gemini-2.5-flash through GoogleModel or GoogleInteractionsModel now emits DeprecatedModelWarning, a UserWarning, so code that turns warnings into errors, such as filterwarnings = error, fails on those requests. Move to the replacement the warning names, or keep the model meanwhile by filtering the warning or setting profile={'deprecation': None}.
  • Select a word on double-click and a line on triple-click in pax by @​dsfaccini in pydantic/pydantic-ai#14558
    • Selection.feed, span, highlight and text in pydantic_ai_pax.ui.prompt.prompt_selection take new arguments: feed takes the press time as now, span takes the painted frame and the soft-wrap flags joins in place of width, and highlight and text take joins. A drag across a row the panel wrapped no longer copies a newline at the wrap.
  • Add /computer-use desktop sandboxes to Pax by @​adtyavrdhn in pydantic/pydantic-ai#14564
    • A Pax plugin status segment may now return a StatusLink, which the status row shows as a clickable link, as well as a str. A segment that returns str works as before.
  • Add a pydantic-ai-pax extra for every model provider, plus all, and install the Google SDK by default by @​DouweM in pydantic/pydantic-ai#14614
    • pydantic_ai_pax.cli.self_update.PACKAGES, the packages /update reinstalls, now asks for pydantic-ai-slim[anthropic,google,mcp,openai], following Pax's default install, which now includes the Google SDK. No migration is needed.
  • Keep every message a run adds in result.conversation when a capability trims the history mid-run by @​DouweM in pydantic/pydantic-ai#13211
    • An app that carries result.conversation into the next run in memory, with a capability that summarizes the history (SummarizingCompaction, RelevanceCompaction), now has the full history summarized on each run instead of carrying the last summary. To carry the compacted history instead, pass result.all_messages() as message_history=, saving result.conversation to a store first if you want to keep the dropped messages. In UI adapters in server mode with a trimming capability, ReinjectSystemPrompt now stores the run's own request with the system prompt at its head instead of a copied turn.
  • Make FileSystem read_file offset 1-indexed by @​adtyavrdhn in pydantic/pydantic-ai#13250
    • FileSystemToolset.read_file(..., offset=N) called from Python, and ReadFileArgs or ReadFileCallPart built with an explicit offset, now start one line earlier, and offset=0 raises (a retry for models). Where you pass offset=N, pass N + 1; find those calls with grep -rn "read_file(.*offset" ..

🚀 Features

  • Reveal tools mid-session in realtime sessions on models that take tool updates, via RealtimeModelProfile.supports_tool_updates and UpdateTools by @​DouweM in pydantic/pydantic-ai#12440
  • Forward volumes through OpenSandboxBackend to Sandbox.create by @​pydanty in pydantic/pydantic-ai#14282
  • Add stateless Google Interactions support with GoogleInteractionsModel by @​dsfaccini in pydantic/pydantic-ai#12636
  • Add CodeMode(allow_final_output=True) to submit the run's output from sandboxed code by @​DouweM in pydantic/pydantic-ai#11349
  • Record pydantic_ai.root_conversation_id on spans of nested agent runs so sub-agent cost rolls up to the outer conversation by @​adtyavrdhn in pydantic/pydantic-ai#14664
  • Derive delegated task IDs from the run and tool call outside durable execution too by @​DouweM in pydantic/pydantic-ai#13419
  • Add per-tool ui_visibility so UI adapters can keep tool results from the client by @​dsfaccini in pydantic/pydantic-ai#14645
  • Warn with DeprecatedModelWarning on requests to gemini-2.5-pro and gemini-2.5-flash by @​dsfaccini in pydantic/pydantic-ai#14679
  • Raise ModelSchemaTooComplexError for Anthropic'...

    Description has been truncated


    Summary by cubic

    Bumps six Python packages in the python-minor-patch group, updating uv.lock.

    Dependencies

    • httpx 0.29.0 raises the minimum supported Python version to 3.10.
    • pydantic-ai 2.76.0 makes FileSystem.read_file offsets 1-indexed and warns on gemini-2.5-pro and gemini-2.5-flash requests.
    • pydantic-ai-slim now depends on truststore.