This commit is contained in:
2024-08-18 09:19:31 -05:00
+4 -1
View File
@@ -1,4 +1,3 @@
# tools/base_tool.py
from abc import ABC, abstractmethod
class BaseTool(ABC):
@@ -9,3 +8,7 @@ class BaseTool(ABC):
@abstractmethod
def execute(self, function_name, **kwargs):
pass
@abstractmethod
def clear(self):
raise NotImplementedError("Subclasses should implement this!")