fix: remove register classmethod

This commit is contained in:
姚凯
2025-04-07 11:04:58 +08:00
parent 6abcb6b69f
commit 8cee76ecbe

View File

@@ -18,7 +18,6 @@ class ABCTool(ABC):
class ToolRegister:
_dict: dict[str, ABCTool] = {}
@classmethod
def register(self, tool: ABCTool) -> ABCTool:
tool_name = tool.tool().name
logging.info(f"Registering tool: {tool_name}")