From b53dbea9f5a5290633a82064309fb802421c5dc1 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Wed, 17 Jan 2024 15:26:54 -0700 Subject: [PATCH] pydantic change for example.py --- swarms/tools/tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarms/tools/tool.py b/swarms/tools/tool.py index 1029a183..f0090493 100644 --- a/swarms/tools/tool.py +++ b/swarms/tools/tool.py @@ -276,7 +276,7 @@ class ChildTool(BaseTool): } return tool_input - @root_validator() + @root_validator(skip_on_failure=True) def raise_deprecation(cls, values: Dict) -> Dict: """Raise deprecation warning if callback_manager is used.""" if values.get("callback_manager") is not None: