better abc

This commit is contained in:
2025-10-22 14:28:39 +08:00
parent 759fa85dd1
commit 6009e7f36b

View File

@@ -11,12 +11,6 @@ class LangToolBase(ABC):
class GraphBase(ABC): class GraphBase(ABC):
@property
@abstractmethod @abstractmethod
def agent(self): def invoke(self, *nargs, **kwargs):
"""The agent object that must be provided by concrete implementations."""
pass pass
def get_agent(self):
"""Convenience method to access the agent."""
return self.agent