chore(deps): bump the python-minor-patch group with 6 updates
Bumps the python-minor-patch group with 6 updates:
| Package | From | To |
|---|---|---|
| httpx | 0.28.1 | 0.29.0 |
| langchain-core | 1.8.4 | 1.8.5 |
| pydantic-ai-slim | 2.71.0 | 2.76.0 |
| openai | 3.57.0 | 3.60.0 |
| pydantic-ai | 2.71.0 | 2.76.0 |
| ty | 0.0.107 | 0.0.112 |
Updates httpx from 0.28.1 to 0.29.0
Changelog
Sourced from httpx's changelog.
0.29.0 (26 November, 2026)
- Minimum supported Python version is now 3.10
Added
- Expose
FunctionAuthfrom the public API. (#3699)
Commits
c894c55Release 0.29 (#3871)7cff5f7Add Python 3.14 to the test matrix (#3836)08cf535Update PR template (#3834)fdc0b4dRevise contributing guidelines for HTTPX (#3831)c34809eVersion 1.0 (#3832)b5addb6Adapt test_response_decode_text_using_autodetect for chardet 6.0 (#3773)ae1b9f6ExposeFunctionAuthin__all__(#3699)ca097c9docs/ssl: fix typo (#3703)def4778Fixed a syntax error in the file upload example (#3692)435e1daBump actions/setup-python from 5 to 6 (#3677)- Additional commits viewable in compare view
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
a2d98c2release(core): 1.8.5 (#42103)97e09aarelease(anthropic): 1.7.13 (#42102)d9e2120docs: update OpenWiki (#42086)5c8cc6cfeat(anthropic): accept custom HTTP and SDK clients (#42101)9d461bbchore(model-profiles): refresh model profile data (#42085)87ad2d7docs: update OpenWiki (#41956)37bf80dchore(model-profiles): refresh model profile data (#42062)fb10639test(huggingface): xfail flaky no-arg tool call test on Novita gpt-oss (#42052)202a6a1fix(core): reuse provider message id on later stream chunks (#42050)824ea17fix(huggingface): correct forced tool choice and streaming token counts (#42043)- Additional commits viewable in compare view
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_updatesandUpdateToolsby@DouweMin pydantic/pydantic-ai#12440
RealtimeInput, the unionRealtimeConnection.sendaccepts, gainsUpdateTools, andDEFAULT_REALTIME_PROFILEgainssupports_tool_updates: False. A session sendsUpdateToolsonly to a connection whose model's profile setssupports_tool_updates, so an existing connection never receives it, but an exhaustive match overRealtimeInput(assert_never) stops type-checking. HandleUpdateToolsthere, or raise for it.- Warn with
DeprecatedModelWarningon requests togemini-2.5-proandgemini-2.5-flashby@dsfacciniin pydantic/pydantic-ai#14679
- A request to
gemini-2.5-proorgemini-2.5-flashthroughGoogleModelorGoogleInteractionsModelnow emitsDeprecatedModelWarning, aUserWarning, so code that turns warnings into errors, such asfilterwarnings = error, fails on those requests. Move to the replacement the warning names, or keep the model meanwhile by filtering the warning or settingprofile={'deprecation': None}.- Select a word on double-click and a line on triple-click in
paxby@dsfacciniin pydantic/pydantic-ai#14558
Selection.feed,span,highlightandtextinpydantic_ai_pax.ui.prompt.prompt_selectiontake new arguments:feedtakes the press time asnow,spantakes the paintedframeand the soft-wrap flagsjoinsin place ofwidth, andhighlightandtexttakejoins. A drag across a row the panel wrapped no longer copies a newline at the wrap.- Add
/computer-usedesktop sandboxes to Pax by@adtyavrdhnin 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 astr. A segment that returnsstrworks as before.- Add a
pydantic-ai-paxextra for every model provider, plusall, and install the Google SDK by default by@DouweMin pydantic/pydantic-ai#14614
pydantic_ai_pax.cli.self_update.PACKAGES, the packages/updatereinstalls, now asks forpydantic-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.conversationwhen a capability trims the history mid-run by@DouweMin pydantic/pydantic-ai#13211
- An app that carries
result.conversationinto 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, passresult.all_messages()asmessage_history=, savingresult.conversationto a store first if you want to keep the dropped messages. In UI adapters in server mode with a trimming capability,ReinjectSystemPromptnow stores the run's own request with the system prompt at its head instead of a copied turn.- Make
FileSystemread_fileoffset1-indexed by@adtyavrdhnin pydantic/pydantic-ai#13250
FileSystemToolset.read_file(..., offset=N)called from Python, andReadFileArgsorReadFileCallPartbuilt with an explicitoffset, now start one line earlier, andoffset=0raises (a retry for models). Where you passoffset=N, passN + 1; find those calls withgrep -rn "read_file(.*offset" ..🚀 Features
- Reveal tools mid-session in realtime sessions on models that take tool updates, via
RealtimeModelProfile.supports_tool_updatesandUpdateToolsby@DouweMin pydantic/pydantic-ai#12440- Forward
volumesthroughOpenSandboxBackendtoSandbox.createby@pydantyin pydantic/pydantic-ai#14282- Add stateless Google Interactions support with
GoogleInteractionsModelby@dsfacciniin pydantic/pydantic-ai#12636- Add
CodeMode(allow_final_output=True)to submit the run's output from sandboxed code by@DouweMin pydantic/pydantic-ai#11349- Record
pydantic_ai.root_conversation_idon spans of nested agent runs so sub-agent cost rolls up to the outer conversation by@adtyavrdhnin pydantic/pydantic-ai#14664- Derive delegated task IDs from the run and tool call outside durable execution too by
@DouweMin pydantic/pydantic-ai#13419- Add per-tool
ui_visibilityso UI adapters can keep tool results from the client by@dsfacciniin pydantic/pydantic-ai#14645- Warn with
DeprecatedModelWarningon requests togemini-2.5-proandgemini-2.5-flashby@dsfacciniin pydantic/pydantic-ai#14679- Raise
ModelSchemaTooComplexErrorfor Anthropic's "Schema is too complex" 400, and attempt an inferred Native Output schema again in Tool Output by@DouweMin pydantic/pydantic-ai#11781- Select a word on double-click and a line on triple-click in
paxby@dsfacciniin pydantic/pydantic-ai#14558- Add
/computer-usedesktop sandboxes to Pax by@adtyavrdhnin pydantic/pydantic-ai#14564- Add a
pydantic-ai-paxextra for every model provider, plusall, and install the Google SDK by default by@DouweMin pydantic/pydantic-ai#14614- Keep Pax config and state in
pydantic-ai-paxfolders by@DouweMin pydantic/pydantic-ai#14615🐛 Bug Fixes
- Drop Anthropic sampling settings when the client sends API version
2026-10-21, theanthropic>=2default by@DouweMin pydantic/pydantic-ai#14420- Keep every message a run adds in
result.conversationwhen a capability trims the history mid-run by@DouweMin pydantic/pydantic-ai#13211- Make
FileSystemread_fileoffset1-indexed by@adtyavrdhnin pydantic/pydantic-ai#13250- List the modules Monty 1.7 added in the
CodeModerun_codedescription by@dsfacciniin pydantic/pydantic-ai#14575- Stop Temporal and Prefect from retrying
UsageLimitExceededby@dsfacciniin pydantic/pydantic-ai#14205- Publish the agent spec parameters of
AskUser,IPythonCodeMode,PromptInjectionDefenderandToolBridge, and check every spec schema against the classes it loads by@dsfacciniin pydantic/pydantic-ai#13982- Raise
IncompleteToolCallwhen the token limit cuts off an Anthropic output tool call, instead of retrying by@DouweMin pydantic/pydantic-ai#14409- Raise
UserErrorfor immediate capability events in a Render child task by@DouweMin pydantic/pydantic-ai#14524- Keep the Pax web UI's Changes count current when a turn starts right after one that changed files by
@dsfacciniin pydantic/pydantic-ai#14589- Read Coder's project skills like the session's
LocalWorkspacewhen a plugin adds a capability function by@dsfacciniin pydantic/pydantic-ai#14680- Show a claimed speculative call before later calls in Pax's sandbox call display by
@dsfacciniin pydantic/pydantic-ai#14692Full 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
PydanticAIDeprecationWarningnaming 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'sresult.usage(), returns that same usage and warns.usagebecame a property in V2, and the call used to raiseTypeError: 'RunUsage' object is not callable, which code that wraps usage accounting inexcept Exceptionturned 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] withoutcome='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. Thedirecthelpers 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 theRetryFeedbackPartit 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; passstrip_system_prompts=Falseto 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, checkisinstance(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 itsretryfield, which tool spans also carry aspydantic_ai.tool.retry.*attributes. [ToolRetryError.tool_retry][pydantic_ai.exceptions.ToolRetryError] holds one of those two parts, so readtool_nameoff it only after checking for aToolReturnPart.- What the model now sees: a tool retry carries the serialized validation errors or the
ModelRetrymessage, with noN validation errors:header and noFix the errors and try again.suffix. One that answers no call arrives in the voice its cause calls for: validation errors and aModelRetrymessage 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'stool_return, where it had aretryentry. Onag-ui-protocolbelow 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 aModelRequestas oneUIMessageper 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 enqueuedSystemPromptPartafter itsUserPromptPartnow 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_MODELSreturns 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:RepoContextnames the working directory's file for the model to read with its file tools and sends an ancestor's file as framed data,Skillsoffers such skills throughlist_skillsandload_skilltools instead ofload_capability, andMemoryattributes such a snapshot to itsMEMORY.md. Files at'operator', the default, are unchanged. Durable runs now record extrarealpathworkspace 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 defaultfallback_on,FallbackModelandModelFallbacknow fall back on an empty stream, an OpenAI Chat completion withoutchoices, 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] andUnexpectedModelBehavior, soexcept UnexpectedModelBehaviorstill catches them, but anexcept ModelAPIErrorplaced before it now takes them; an empty Mistral or OpenAIchoicesraises one instead ofAssertionErrororIndexError. To keep raising instead of falling back, pass afallback_onthat leaves them out, such aslambda e: isinstance(e, ModelAPIError) and not isinstance(e, UnexpectedModelBehavior)(#12108)- Resolve Pax
/permissionsapprovals through a token-taking [HandleDeferredToolCalls][pydantic_ai.capabilities.HandleDeferredToolCalls] handler with harnessapproval_ask.pydantic_ai_pax.runtime.permissions.approval_handlerstill returns anApprovalHandler, 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, bindApprovalHandler(lambda ctx, requests: ask_permissions(requests, approve))instead (#13195)- Share one
instructionsstring across a conversation's requests instead of keeping a copy per request. [ModelMessagesTypeAdapter][pydantic_ai.messages.ModelMessagesTypeAdapter] is now built with anAfterValidator, and in a history it loads, requests with equalinstructionshold the same string object. Its type, JSON schema, serialization and validated values are unchanged. Compareinstructionswith==, notis(#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.Coderwith [SubAgents][pydantic_ai_harness.subagents.SubAgents] now sends "Don't spawn sub-agents withdelegate_taskunless 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'sgpt-*models other than gpt-oss), and to no model behind aFallbackModel, whereCodernow warns once with aUserWarning. On GPT models the line moves out ofCoder's static guidance into its own rewrite-mode block,capability:coder_instructions:delegation, after append-mode blocks such asRepoContext'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, setprofile={'delegates_unprompted': True}on it or put the rule inCoder(instructions=...); with aFallbackModel, switch to theModelFallbackcapability (#13764)- Count Gemini's thinking tokens as output in [
OpenAIChatModel][pydantic_ai.models.openai.OpenAIChatModel] usage. Agemini*model through [OpenAIProvider][pydantic_ai.providers.openai.OpenAIProvider] now reports its thinking tokens inoutput_tokensandoutput_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 anyUsageLimitstuned against the old counts. On a server whosetotal_tokenscounts 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_budgetforthinking=Falseongemini-2.5-flashvia the Gemini API ahead of its reroute togemini-3.5-flash-lite.thinking=Falseongemini-2.5-flashthrough the Gemini API now sendsthinking_budget=128instead of0, so until the reroute on 2026-12-01 the model thinks a little instead of not at all; after it, a budget of0fails with a400. Vertex AI andgemini-2.5-flash-litekeep0. To keepthinking_budget=0until 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] coversget_instructions()and MCP server instructions. A capability lowered with itsauthorityclass attribute orwith_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 anMCPcapability withwith_authoritythat 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
computertool contract to core:pydantic_ai.computer_useand [ComputerTool][pydantic_ai.native_tools.ComputerTool]. AddsComputerTooltoNATIVE_TOOLS_REQUIRING_CONFIG: it needs acomputertool to run its calls (#11006)- Send static instructions as leading
inputmessages on GPT-6.2, which never caches top-levelinstructions. Continuing a GPT-6.2 response through an explicit [openai_previous_response_id='resp_…'][pydantic_ai.models.openai.OpenAIResponsesModelSettings.openai_previous_response_id] without itsmessage_historynow inherits that response's static instructions. Pass themessage_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 agemini*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 haveRTCPeerConnection,WebTransport,WebSocketStreamor 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_transformationsin [provider_details][pydantic_ai.messages.ModelResponse.provider_details] and on the model request span. Raises theopenaifloor from 3.31.0 to 3.50.0 on every extra that installsopenai(#14056)
... (truncated)
Commits
cdb587eRaiseModelSchemaTooComplexErrorfor Anthropic's "Schema is too complex" 40...a53b281RaiseUserErrorfor immediate capability events in a Render child task (#14...269ed79Check that capability parts and instruction ids survive every durable engine'...1ae3f6fRaiseIncompleteToolCallwhen the token limit cuts off an Anthropic output ...df73c99Pin thatConversationStore.savestores a server tool return once when a run...885670aPublish the agent spec parameters ofAskUser,IPythonCodeMode, `PromptInj...f90a9ad[complexity] Record run event streams,AgentStreamcalls and spans in `test...4c1228cWarn withDeprecatedModelWarningon requests togemini-2.5-proand `gemin...fe60ee1Add adapter rules for stream request boundaries and*_UNSPECIFIEDenum valu...f62cc26Stop Temporal and Prefect from retryingUsageLimitExceeded(#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
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
v3.58.0
3.58.0 (2026-11-23)
Features
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
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
3.58.0 (2026-11-23)
Features
Bug Fixes
Commits
f2b2399release: 3.60.0 (#4329)4713afdfeat(api): add spend alerts and response compaction fields (#4335)c386f19feat(api): support updating session vaults (#4334)b5b55abchore(api): clarify message retries and Batch endpoints (#4333)6626656chore(api): clarify Realtime audio noise reduction (#4331)621fd09chore(api): document inline skill upload limits (#4300)aff223dchore(api): correct metadata documentation (#4328)d296ec3release: 3.59.0 (#4318)804a9affeat(api): add healthcare model IDs for Responses (#4327)abbd379fix: reject non-finite numbers in agent tool arguments (#4326)- Additional commits viewable in compare view
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_updatesandUpdateToolsby@DouweMin pydantic/pydantic-ai#12440
RealtimeInput, the unionRealtimeConnection.sendaccepts, gainsUpdateTools, andDEFAULT_REALTIME_PROFILEgainssupports_tool_updates: False. A session sendsUpdateToolsonly to a connection whose model's profile setssupports_tool_updates, so an existing connection never receives it, but an exhaustive match overRealtimeInput(assert_never) stops type-checking. HandleUpdateToolsthere, or raise for it.- Warn with
DeprecatedModelWarningon requests togemini-2.5-proandgemini-2.5-flashby@dsfacciniin pydantic/pydantic-ai#14679
- A request to
gemini-2.5-proorgemini-2.5-flashthroughGoogleModelorGoogleInteractionsModelnow emitsDeprecatedModelWarning, aUserWarning, so code that turns warnings into errors, such asfilterwarnings = error, fails on those requests. Move to the replacement the warning names, or keep the model meanwhile by filtering the warning or settingprofile={'deprecation': None}.- Select a word on double-click and a line on triple-click in
paxby@dsfacciniin pydantic/pydantic-ai#14558
Selection.feed,span,highlightandtextinpydantic_ai_pax.ui.prompt.prompt_selectiontake new arguments:feedtakes the press time asnow,spantakes the paintedframeand the soft-wrap flagsjoinsin place ofwidth, andhighlightandtexttakejoins. A drag across a row the panel wrapped no longer copies a newline at the wrap.- Add
/computer-usedesktop sandboxes to Pax by@adtyavrdhnin 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 astr. A segment that returnsstrworks as before.- Add a
pydantic-ai-paxextra for every model provider, plusall, and install the Google SDK by default by@DouweMin pydantic/pydantic-ai#14614
pydantic_ai_pax.cli.self_update.PACKAGES, the packages/updatereinstalls, now asks forpydantic-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.conversationwhen a capability trims the history mid-run by@DouweMin pydantic/pydantic-ai#13211
- An app that carries
result.conversationinto 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, passresult.all_messages()asmessage_history=, savingresult.conversationto a store first if you want to keep the dropped messages. In UI adapters in server mode with a trimming capability,ReinjectSystemPromptnow stores the run's own request with the system prompt at its head instead of a copied turn.- Make
FileSystemread_fileoffset1-indexed by@adtyavrdhnin pydantic/pydantic-ai#13250
FileSystemToolset.read_file(..., offset=N)called from Python, andReadFileArgsorReadFileCallPartbuilt with an explicitoffset, now start one line earlier, andoffset=0raises (a retry for models). Where you passoffset=N, passN + 1; find those calls withgrep -rn "read_file(.*offset" ..🚀 Features
- Reveal tools mid-session in realtime sessions on models that take tool updates, via
RealtimeModelProfile.supports_tool_updatesandUpdateToolsby@DouweMin pydantic/pydantic-ai#12440- Forward
volumesthroughOpenSandboxBackendtoSandbox.createby@pydantyin pydantic/pydantic-ai#14282- Add stateless Google Interactions support with
GoogleInteractionsModelby@dsfacciniin pydantic/pydantic-ai#12636- Add
CodeMode(allow_final_output=True)to submit the run's output from sandboxed code by@DouweMin pydantic/pydantic-ai#11349- Record
pydantic_ai.root_conversation_idon spans of nested agent runs so sub-agent cost rolls up to the outer conversation by@adtyavrdhnin pydantic/pydantic-ai#14664- Derive delegated task IDs from the run and tool call outside durable execution too by
@DouweMin pydantic/pydantic-ai#13419- Add per-tool
ui_visibilityso UI adapters can keep tool results from the client by@dsfacciniin pydantic/pydantic-ai#14645- Warn with
DeprecatedModelWarningon requests togemini-2.5-proandgemini-2.5-flashby@dsfacciniin pydantic/pydantic-ai#14679- Raise
ModelSchemaTooComplexErrorfor Anthropic'...Description has been truncated
Summary by cubic
Bumps six Python packages in the
python-minor-patchgroup, updatinguv.lock.Dependencies
httpx0.29.0 raises the minimum supported Python version to 3.10.pydantic-ai2.76.0 makesFileSystem.read_fileoffsets 1-indexed and warns ongemini-2.5-proandgemini-2.5-flashrequests.pydantic-ai-slimnow depends ontruststore.