From 6009e7f36b46e68ff15eb8b3be56cf543aebdea4 Mon Sep 17 00:00:00 2001 From: goulustis Date: Wed, 22 Oct 2025 14:28:39 +0800 Subject: [PATCH] better abc --- lang_agent/base.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lang_agent/base.py b/lang_agent/base.py index 026bd0a..5aa6506 100644 --- a/lang_agent/base.py +++ b/lang_agent/base.py @@ -11,12 +11,6 @@ class LangToolBase(ABC): class GraphBase(ABC): - @property @abstractmethod - def agent(self): - """The agent object that must be provided by concrete implementations.""" - pass - - def get_agent(self): - """Convenience method to access the agent.""" - return self.agent \ No newline at end of file + def invoke(self, *nargs, **kwargs): + pass \ No newline at end of file