From aa362429d99d195929f1416390888e423cc92c45 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 14:40:34 +0000 Subject: [PATCH 1/3] Bump pydantic-ai from 1.97.0 to 1.99.0 in /lib/galaxy/dependencies Bumps [pydantic-ai](https://github.com/pydantic/pydantic-ai) from 1.97.0 to 1.99.0. - [Release notes](https://github.com/pydantic/pydantic-ai/releases) - [Changelog](https://github.com/pydantic/pydantic-ai/blob/main/docs/changelog.md) - [Commits](https://github.com/pydantic/pydantic-ai/compare/v1.97.0...v1.99.0) --- updated-dependencies: - dependency-name: pydantic-ai dependency-version: 1.99.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- lib/galaxy/dependencies/pinned-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/dependencies/pinned-requirements.txt b/lib/galaxy/dependencies/pinned-requirements.txt index 99fef523a9d..aca0578e9c8 100644 --- a/lib/galaxy/dependencies/pinned-requirements.txt +++ b/lib/galaxy/dependencies/pinned-requirements.txt @@ -203,7 +203,7 @@ pyasn1-modules==0.4.2 pycparser==3.0 ; (implementation_name != 'PyPy' and platform_python_implementation != 'PyPy') or (implementation_name == 'pypy' and platform_python_implementation == 'PyPy') pycryptodome==3.23.0 pydantic==2.13.4 -pydantic-ai==1.97.0 +pydantic-ai==1.99.0 pydantic-ai-slim==1.97.0 pydantic-core==2.46.4 pydantic-evals==1.97.0 From 74db924b0f064f54c896449f3554c50d4d28d88a Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Fri, 22 May 2026 15:53:21 +0100 Subject: [PATCH 2/3] Bump also pydantic packages from 1.97.0 to 1.99.0 --- lib/galaxy/dependencies/pinned-requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/galaxy/dependencies/pinned-requirements.txt b/lib/galaxy/dependencies/pinned-requirements.txt index aca0578e9c8..1889a903d32 100644 --- a/lib/galaxy/dependencies/pinned-requirements.txt +++ b/lib/galaxy/dependencies/pinned-requirements.txt @@ -204,10 +204,10 @@ pycparser==3.0 ; (implementation_name != 'PyPy' and platform_python_implementati pycryptodome==3.23.0 pydantic==2.13.4 pydantic-ai==1.99.0 -pydantic-ai-slim==1.97.0 +pydantic-ai-slim==1.99.0 pydantic-core==2.46.4 -pydantic-evals==1.97.0 -pydantic-graph==1.97.0 +pydantic-evals==1.99.0 +pydantic-graph==1.99.0 pydantic-handlebars==0.1.0 pydantic-settings==2.14.1 pydantic-tes==0.4.0 From 2b0ba422603a10fc7960c95cb344b5613c2e0d96 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Fri, 22 May 2026 17:12:16 +0100 Subject: [PATCH 3/3] Fix for pydantic-ai 1.98.0 See https://github.com/pydantic/pydantic-ai/pull/5500 . --- lib/galaxy/agents/custom_tool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/agents/custom_tool.py b/lib/galaxy/agents/custom_tool.py index a251836cfdc..4c07b8afe60 100644 --- a/lib/galaxy/agents/custom_tool.py +++ b/lib/galaxy/agents/custom_tool.py @@ -111,7 +111,7 @@ class CustomToolAgent(BaseGalaxyAgent): def _create_agent(self) -> Agent[GalaxyAgentDependencies, Any]: """Create agent with UserToolSource as the output type. - Sets output_retries=0 because the agent's explicit reflection loop + Sets retries=0 because the agent's explicit reflection loop owns the validation retry (to provide a better prompt). """ return Agent( @@ -119,7 +119,7 @@ class CustomToolAgent(BaseGalaxyAgent): deps_type=GalaxyAgentDependencies, output_type=UserToolSource, system_prompt=self.get_system_prompt(), - output_retries=0, + retries=0, ) def get_system_prompt(self) -> str: