chore(deps): update dependency pydantic-ai to v2#821
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>= 1.99.0, < 2.0.0→>=2.0.0, <2.1.0>= 1.99.0, < 2.0.0→>=2.0.0, <2.1.0Release Notes
pydantic/pydantic-ai (pydantic-ai)
v2.0.0: (2026-06-23)Compare Source
🎉 Pydantic AI V2.0 is here!
After seven betas, Pydantic AI V2 is now stable. V2 leans into a harness-first design with capabilities as a core primitive — a single composable unit that bundles an agent's tools, hooks, instructions, and model settings, reaching every layer of the agent through one concept.
Install it with:
See the Upgrade Guide for everything that's changed and the recommended path from V1.
What's Changed
🚀 Features
gemini-embedding-2embedding model by @dsfaccini in #5887DeferredToolsinAGUIAdapterby @jjmllr in #5441google_tasktext-prefix conditioning forgemini-embedding-2embeddings by @dsfaccini in #5894xai_max_turnstoXaiModelSettingsby @manan-tech in #5978🐛 Bug Fixes
function_calling_configwithout function declarations by @glendigity in #5791UploadedFileparts toinput_imageby @Oxygen56 in #5809thinkinghandling for Groq qwen3 and Cerebrasgpt-ossby @dsfaccini in #5850Evaluatoroutputs by @alexmojaki in #5863AnthropicModel.count_tokensdivergence onToolSearchToolreplay history by @dsfaccini in #5855reasoning_contenton synthesized tool-call turns for DeepSeek thinking models by @adtyavrdhn in #5842UploadedFile.provider_namein tool returns and consolidate the guard intoModel._validate_uploaded_file_providerby @Oxygen56 in #5860zai-glmreasoning in<think>tags and bump tozai-glm-4.7by @dsfaccini in #5891GoogleModelstreaming chunks by @dsfaccini in #5886output_audio_tokensinRunUsageby @HaozheZhang6 in #5904kinddiscriminator in text output by @ret2libc in #5845additionalModelRequestFieldsin Bedrockcount_tokensby @dsfaccini in #5910MCPToolset(http_client=...)crash on FastMCP'sfollow_redirectskwarg by @he-yufeng in #5694tool_choicefromModelSettingsto v2 chat API by @Julien-ser in #5833max_tokenstomax_completion_tokensormax_tokensviaOpenAIModelProfileflag by @dsfaccini in #5926top_kmodel setting to BedrockadditionalModelRequestFieldsby @dsfaccini in #5922FallbackModeldeclaring an unassigned_model_namedataclass field by @dorukgezici in #5932groq_reasoning_effortsetting by @Oxygen56 in #5797reasoning_effort='none'for Cerebras, deprecatecerebras_disable_reasoning, addcerebras_clear_thinkingby @dsfaccini in #5897New Contributors
Full Changelog: pydantic/pydantic-ai@v2.0.0b7...v2.0.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.