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):
@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
def invoke(self, *nargs, **kwargs):
pass