Skip to content

chore(deps): bump pydantic-ai-slim from 2.69.0 to 2.70.0 in /pydantic-ai - #96

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/pydantic-ai/pydantic-ai-slim-2.70.0
Nov 25, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/pydantic-ai/pydantic-ai-slim-2.70.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2026

Copy link
Copy Markdown
Contributor

Bumps pydantic-ai-slim from 2.69.0 to 2.70.0.

Release notes

Sourced from pydantic-ai-slim's releases.

v2.70.0 (2026-11-17)

What's Changed

🛡️ Security

  • GHSA-m4cr-m4qc-9hh3 (high): With strip_ansi=True, Pydantic AI Harness's ToolOutputLimits capability removed ANSI escape sequences with a pattern that took time quadratic in the length of a line, so a tool result of a few hundred kilobytes with many unterminated escape sequences could occupy the event loop for tens of seconds to minutes. You are affected if you set strip_ansi=True (named OverflowingToolOutput before 0.13.0) and run tools whose output an attacker can influence. Fixed in pydantic-ai-harness 0.70.0.
  • GHSA-5m5q-5qj4-gx9h (high): The jwt pattern in Pydantic AI Harness's secret redaction backtracked in time quadratic in the length of the text it scanned, so a few hundred kilobytes of crafted text could occupy the event loop for tens of seconds to minutes. You are affected if you use redact_secrets or secret_data() with the jwt pattern, which is included by default, on text an attacker can influence. The fixed pattern no longer matches a JWT whose header segment contains -eyJ. Fixed in pydantic-ai-harness 0.70.0.

⚠️ Compatibility Notes

🚀 Features

🐛 Bug Fixes

... (truncated)

Changelog

Sourced from pydantic-ai-slim's changelog.

v2.70.0

  • Forward [service_tier][pydantic_ai.settings.ModelSettings.service_tier] to xAI and record the served tier in [provider_details][pydantic_ai.messages.ModelResponse.provider_details] (#13524)
  • Add [huggingface_logprobs][pydantic_ai.models.huggingface.HuggingFaceModelSettings.huggingface_logprobs] and [huggingface_top_logprobs][pydantic_ai.models.huggingface.HuggingFaceModelSettings.huggingface_top_logprobs] to [HuggingFaceModelSettings][pydantic_ai.models.huggingface.HuggingFaceModelSettings] and return logprobs in [provider_details][pydantic_ai.messages.ModelResponse.provider_details] (#6855)
  • Let [Skills][pydantic_ai_harness.skills.Skills] read a loaded skill's bundled files with read_files=True, and substitute ${SKILL_DIR} placeholders (#13678)
  • Let a harness [SpendLimits][pydantic_ai_harness.spend_limits.SpendLimits] [Budget][pydantic_ai_harness.spend_limits.Budget] resolve its usd/tokens ceiling per scope from the run context (#13644)
  • Add [CapabilityPart][pydantic_ai.messages.CapabilityPart], a request part for what a capability tells the model, rendered by the framework before any model sees it (#11935)
  • Judge file input by media type with [supported_image_media_types][pydantic_ai.profiles.ModelProfile.supported_image_media_types], [supported_audio_media_types][pydantic_ai.profiles.ModelProfile.supported_audio_media_types] and [supported_video_media_types][pydantic_ai.profiles.ModelProfile.supported_video_media_types] (#12419)
  • Skip node_modules, .venv and other package directories in [RepoContext][pydantic_ai_harness.repo_context.RepoContext] nested traversal with nested_exclude (#13103)
  • Fix [OpenAIChatModel][pydantic_ai.models.openai.OpenAIChatModel] sending Responses reasoning item ids as assistant-message fields in auto thinking mode (#12136)
  • Run [AnthropicModel][pydantic_ai.models.anthropic.AnthropicModel]'s expired-container and stale-thinking-block retries for a status a retrying transport gave up on, and raise [ModelHTTPError][pydantic_ai.exceptions.ModelHTTPError] for one from [OpenAIResponsesModel.compact_messages][pydantic_ai.models.openai.OpenAIResponsesModel.compact_messages] (#13571)
  • Raise [ModelRequestRejectedError][pydantic_ai.exceptions.ModelRequestRejectedError] before [OpenAIChatModel][pydantic_ai.models.openai.OpenAIChatModel] sends tools to GPT-6 models with reasoning on (#12264)
  • Fix Groq JSON output and reasoning flags, and raise [UserError][pydantic_ai.exceptions.UserError] for [NativeOutput][pydantic_ai.output.NativeOutput] with function tools on [GroqModel][pydantic_ai.models.groq.GroqModel] (#12667)
  • Run harness [FileSystem][pydantic_ai_harness.FileSystem] and [Shell][pydantic_ai_harness.Shell] tools on Azure Durable Task and Render (#12421)
  • Fall back to 'auto' or raise [ModelRequestRejectedError][pydantic_ai.exceptions.ModelRequestRejectedError] for forced tool choice on OpenRouter's qwen/qwen3.8-flash, which rejects forcing while reasoning (#12262)
  • Re-run [get_instructions][pydantic_ai.capabilities.AbstractCapability.get_instructions] and [get_model_settings][pydantic_ai.capabilities.AbstractCapability.get_model_settings] for the model that serves a [ModelFallback][pydantic_ai.capabilities.ModelFallback] attempt (#13679)
Commits
  • 8d30268 Let the PR_REVIEW_MODEL_CHAIN repository variable set the `PR Review Checks...
  • 4a0c328 End the jwt secret pattern's header segment at a - directly before eyJ ...
  • 3c29e27 [complexity] Record what realtime sessions do above their connections in `tes...
  • 65471dd Send a tool-returned video on OpenRouter only to models whose profile reads v...
  • 06d5c18 Adopt the area: and provider: label taxonomy (#13720)
  • c4e8f34 Replay every input field of Anthropic tool search calls, so thinking after a ...
  • 4607584 Give AgentRunError the failed run's conversation, and add `capture_run_co...
  • 3fedb52 Add OpenAI gpt-6.2-sol and gpt-6.2-astra model support (#13760)
  • 56f8f3c [complexity] Bring 18 realtime session core functions under the cognitive com...
  • e8611ca Drain the start-up readiness waiter inside the try, so a cancelled run on P...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pydantic-ai-slim](https://github.com/pydantic/pydantic-ai) from 2.69.0 to 2.70.0.
- [Release notes](https://github.com/pydantic/pydantic-ai/releases)
- [Changelog](https://github.com/pydantic/pydantic-ai/blob/main/docs/changelog.md)
- [Commits](pydantic/pydantic-ai@v2.69.0...v2.70.0)

---
updated-dependencies:
- dependency-name: pydantic-ai-slim
  dependency-version: 2.70.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 25, 2026 06:45
@github-actions
github-actions Bot enabled auto-merge (squash) November 25, 2026 06:45
@github-actions
github-actions Bot merged commit 193a2e0 into main Nov 25, 2026
8 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/pydantic-ai/pydantic-ai-slim-2.70.0 branch November 25, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants