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: diff --git a/lib/galaxy/dependencies/pinned-requirements.txt b/lib/galaxy/dependencies/pinned-requirements.txt index 99fef523a9d..1889a903d32 100644 --- a/lib/galaxy/dependencies/pinned-requirements.txt +++ b/lib/galaxy/dependencies/pinned-requirements.txt @@ -203,11 +203,11 @@ 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-slim==1.97.0 +pydantic-ai==1.99.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