---
title: "pydantic-ai-slim 2.67.0 Breaking Changes on PyPI | Since.dev"
description: "What each pydantic-ai-slim release removed, renamed or changed: 47 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pydantic-ai-slim
last_updated: 2026-12-04
---

# pydantic-ai-slim breaking changes

pydantic-ai-slim 2.67.0 (November 11, 2026) is its newest release with breaking changes, 47 of them. The first: Removed KnownModelName. Every breaking API change we have recorded in pydantic-ai-slim on PyPI: 47 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.79.0`, released December 4, 2026. [Source repository](https://github.com/pydantic/pydantic-ai)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## pydantic-ai-slim 2.67.0 breaking changes

pydantic-ai-slim 2.67.0, released November 11, 2026: 47 breaking changes.

- **Removed** `KnownModelName`  

Model-name literals were curated down to the models users would pick, so some previously listed names are no longer in the literals. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Removed** `pydantic_ai.models.bedrock.is_multi_modal_content`  

pydantic_ai.models.bedrock.is_multi_modal_content was removed in pydantic-ai-slim 2.67.0 [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Renamed**  

Provider-specific fields on native tools now live under provider_settings. Update code that set them directly on the tool. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Behavior changed**  

The \<system> voice tag is now announced only once a conversation needs it, controlled by the new framing_announcement setting. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Behavior changed**  

When validation requests approval for an external tool, UserError is now raised. Handle this error or avoid requesting approval for external tools. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Behavior changed**  

Documents with any media type that mimetypes recognises are sent, with the format taken from it. Check code that relied on the previous set of accepted types. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Behavior changed** `ArtifactScanner`  

ArtifactScanner now strips default-ignorable characters before matching phrases and flags hidden variation selectors, so scan results can differ. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Behavior changed** `CapabilityCreation`  

A CapabilityCreation run is now refused when its directory is below 'operator' authority. Check that the directory has sufficient authority. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Behavior changed** `CodeMode`  

CodeMode now rejects tools whose names match Python builtins, because the sandbox called the builtin instead. Rename such tools. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Behavior changed** `ModelProfile.may_tokenize_special_tokens_in_content`  

Special tokens in message content are broken on open-model routes and restored in model output. Check code that depends on the old tokenization. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Behavior changed** `openai_previous_response_id`  

A response without a history_digest is no longer continued through openai_previous_response_id. Pass the full history instead. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Behavior changed** `RepoContext`  

Nested instruction files are now loaded by default, so the agent sees more instructions. Check which files RepoContext now picks up. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Behavior changed** `StreamedRunResult.result`  

Accessing StreamedRunResult.result now raises UserError if a run_stream() run stops while finishing. Handle this error in code that reads the result. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Default changed** `RepoContext`  

Inlined nested instructions are now capped at 32,000 characters per conversation unless you set nested_max_chars. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Signature changed** `pydantic_ai.AdvisorTool.__init__`  

Was def \_\_init\_\_(self, \*, kind: str = 'advisor', optional: bool = False, model: AdvisorModelName, max_uses: int | None = None, max_tokens: int | None = None, caching: Literal\['5m', '1h'\] | None = None) -> None; now def \_\_init\_\_(self, \*... [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.AdvisorTool.caching`  

Was caching: Literal\['5m', '1h'\] | None; now caching: Annotated\[Literal\['5m', '1h'\] | None, \_moved_to_provider_settings(anthropic, caching)\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.agent.abstract.AgentStream.__init__`  

Was def \_\_init\_\_(self, \*, \_raw_stream_response: models.StreamedResponse, \_output_schema: OutputSchema\[OutputDataT\], \_model_request_parameters: models.ModelRequestParameters, \_output_validators: list\[OutputValidator\[AgentDepsT... [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.capabilities.image_generation.WrapperModel.__init__`  

Was def \_\_init\_\_(self, wrapped: Model | KnownModelName); now def \_\_init\_\_(self, wrapped: Model | KnownModelName | str). [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.capabilities.ImageGeneration.__init__`  

Was def \_\_init\_\_(self, \*, native: ImageGenerationTool | Callable\[\[RunContext\[AgentDepsT\]\], Awaitable\[ImageGenerationTool | None\] | ImageGenerationTool | None\] | bool = True, local: ImageGenerator | Tool\[AgentDepsT\] | Callable\[..., Any\] |... [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.capabilities.ImageGeneration.from_spec`  

Was @classmethod def from_spec(cls, \*, native: ImageGenerationTool | bool = True, local: Literal\[False\] | None = None, fallback_subagent_model: KnownModelName | str | None = None, fallback_image_model: str | None = None, action... [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.capabilities.ImageGeneration.quality`  

Was quality: Literal\['low', 'medium', 'high', 'auto'\] | None; now quality: ImageQuality | None. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.capabilities.LocalWorkspace.__init__`  

Was def \_\_init\_\_(self, working_dir: str | Path, \*, read_only: bool = False, authority: Authority = 'operator', env: Mapping\[str, str\] | None = None, id: str | None = 'local_workspace') -> None; now def \_\_init\_\_(self, working_dir: str |... [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.ConcurrencyLimitedModel.__init__`  

Was def \_\_init\_\_(self, wrapped: Model | KnownModelName, limiter: int | ConcurrencyLimit | AbstractConcurrencyLimiter); now def \_\_init\_\_(self, wrapped: Model | KnownModelName | str, limiter: int | ConcurrencyLimit |... [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.DocumentUrl.format`  

Was format: DocumentFormat; now format: str. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.FileSearchTool.__init__`  

Was def \_\_init\_\_(self, \*, kind: str = 'file_search', optional: bool = False, file_store_ids: Sequence\[str\], max_num_results: int | None = None, instructions: str | None = None, retrieval_mode: Literal\['hybrid', 'semantic', 'keyword'\] |... [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.FileSearchTool.instructions`  

Was instructions: str | None; now instructions: Annotated\[str | None, \_moved_to_provider_settings(xai, instructions)\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.FileSearchTool.retrieval_mode`  

Was retrieval_mode: Literal\['hybrid', 'semantic', 'keyword'\] | None; now retrieval_mode: Annotated\[Literal\['hybrid', 'semantic', 'keyword'\] | None, \_moved_to_provider_settings(xai, retrieval_mode)\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.ImageGenerationTool.__init__`  

Was def \_\_init\_\_(self, \*, kind: str = 'image_generation', optional: bool = False, action: Literal\['generate', 'edit', 'auto'\] = 'auto', background: Literal\['transparent', 'opaque', 'auto'\] = 'auto', input_fidelity: Literal\['high', 'low'\] |... [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.ImageGenerationTool.action`  

Was action: Literal\['generate', 'edit', 'auto'\]; now action: Annotated\[Literal\['generate', 'edit', 'auto'\], \_moved_to_provider_settings(openai, action)\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.ImageGenerationTool.background`  

Was background: Literal\['transparent', 'opaque', 'auto'\]; now background: Annotated\[Literal\['transparent', 'opaque', 'auto'\], \_moved_to_provider_settings(openai, background)\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.ImageGenerationTool.input_fidelity`  

Was input_fidelity: Literal\['high', 'low'\] | None; now input_fidelity: Annotated\[Literal\['high', 'low'\] | None, \_moved_to_provider_settings(openai, input_fidelity)\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.ImageGenerationTool.model`  

Was model: ImageGenerationModelName | None; now model: Annotated\[ImageGenerationModelName | None, \_moved_to_provider_settings(openai, model)\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.ImageGenerationTool.moderation`  

Was moderation: Literal\['auto', 'low'\]; now moderation: Annotated\[Literal\['auto', 'low'\], \_moved_to_provider_settings(openai, moderation)\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.ImageGenerationTool.partial_images`  

Was partial_images: int; now partial_images: Annotated\[int, \_moved_to_provider_settings(openai, partial_images)\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.ImageGenerationTool.quality`  

Was quality: Literal\['low', 'medium', 'high', 'auto'\]; now quality: Annotated\[ImageQuality, \_moved_to_provider_settings(openai, quality)\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.images.openai.OpenAIImageGenerationSettings.openai_quality`  

Was openai_quality: Literal\['low', 'medium', 'high', 'auto'\]; now openai_quality: ImageQuality. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.limit_model_concurrency`  

Was def limit_model_concurrency(model: Model | KnownModelName, limiter: AnyConcurrencyLimit) -> Model; now def limit_model_concurrency(model: Model | KnownModelName | str, limiter: AnyConcurrencyLimit) -> Model. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.models.bedrock_mantle.OpenAIChatModelSettings.openai_service_tier`  

Was openai_service_tier: Literal\['auto', 'default', 'flex', 'priority'\]; now openai_service_tier: responses.ServiceTier. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.models.instrumented.InstrumentedModel.__init__`  

Was def \_\_init\_\_(self, wrapped: Model | KnownModelName, options: InstrumentationSettings | None = None) -> None; now def \_\_init\_\_(self, wrapped: Model | KnownModelName | str, options: InstrumentationSettings | None = None) -> None. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.models.LoadedInstructionValues.__init__`  

Was def \_\_init\_\_(self, values: dict\[str, str | None\] = dict\[str, str | None\](), \_loads: LoadExchanges = LoadExchanges(), \_changed: set\[str\] = set\[str\]()) -> None; now def \_\_init\_\_(self, values: dict\[str, str | None\] = dict\[str, str |... [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.models.LoadedInstructionValues.observe`  

Was def observe(self, part: ModelRequestPart | ModelResponsePart) -> None; now def observe(self, part: ModelRequestPart | ModelResponsePart) -> list\[str\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.models.ModelRequestParameters.__init__`  

Was def \_\_init\_\_(self, \*, function_tools: list\[ToolDefinition\] = list\[ToolDefinition\](), native_tools: list\[AbstractNativeTool\] = list\[AbstractNativeTool\](), \_telemetry_mcp_url_ids: Annotated\[set\[str\] | None, Field(exclude=True)\] = None... [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.WebFetchTool.__init__`  

Was def \_\_init\_\_(self, \*, kind: str = 'web_fetch', optional: bool = False, max_uses: int | None = None, allowed_domains: list\[str\] | None = None, blocked_domains: list\[str\] | None = None, enable_citations: bool = False, max_content_tokens... [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.WebFetchTool.enable_citations`  

Was enable_citations: bool; now enable_citations: Annotated\[bool, \_moved_to_provider_settings(anthropic, enable_citations)\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.WebFetchTool.max_content_tokens`  

Was max_content_tokens: int | None; now max_content_tokens: Annotated\[int | None, \_moved_to_provider_settings(anthropic, max_content_tokens)\]. [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.WebSearchTool.__init__`  

Was def \_\_init\_\_(self, \*, kind: str = 'web_search', optional: bool = False, search_context_size: Literal\['low', 'medium', 'high'\] = 'medium', user_location: WebSearchUserLocation | None = None, blocked_domains: list\[str\] | None = None... [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)
- **Signature changed** `pydantic_ai.workspaces.AuthorityWorkspace.__init__`  

Was def \_\_init\_\_(self, wrapped: Workspace, \*, authority: Authority); now def \_\_init\_\_(self, wrapped: Workspace, \*, authority: Authority, path_authority: Mapping\[str, Authority\] | None = None). [pypi.org](https://pypi.org/project/pydantic-ai-slim/2.67.0/)

## Related packages

- [pydantic-ai](https://since.dev/packages/pypi/pydantic-ai.md)
- [pydantic-core](https://since.dev/packages/pypi/pydantic-core.md)
- [pydantic-settings](https://since.dev/packages/pypi/pydantic-settings.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
