From 5917d22b8bd562a94178943ee2033697b56c3562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Le=20Lay?= Date: Sun, 5 Jan 2025 14:07:42 -0500 Subject: [PATCH] tweak comment --- src/smolagents/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smolagents/tools.py b/src/smolagents/tools.py index 19cbbda..3b76a5b 100644 --- a/src/smolagents/tools.py +++ b/src/smolagents/tools.py @@ -206,7 +206,7 @@ class Tool: assert getattr(self, "output_type", None) in AUTHORIZED_TYPES - # Validate forward function signature, except for PipelineTool + # Validate forward function signature, except for Tools that use a "generic" signature (PipelineTool, SpaceToolWrapper) if not ( hasattr(self, "skip_forward_signature_validation") and getattr(self, "skip_forward_signature_validation") is True