From 86c262e43a3cc067f36cd538b0850506fad54536 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Sun, 3 Dec 2023 17:23:46 -0700 Subject: [PATCH] callback_managwer --- swarms/tools/tool.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/swarms/tools/tool.py b/swarms/tools/tool.py index 23b18450..838b89bb 100644 --- a/swarms/tools/tool.py +++ b/swarms/tools/tool.py @@ -111,9 +111,7 @@ class ChildTool(BaseTool): callbacks: Callbacks = None """Callbacks to be called during tool execution.""" # TODO: I don't know how to remove Field here - callback_manager: Optional[BaseCallbackManager] = Field( - default=None, exclude=True - ) + callback_manager: Optional[BaseCallbackManager] = None """Deprecated. Please use callbacks instead.""" tags: Optional[List[str]] = None """Optional list of tags associated with the tool. Defaults to None