remove useless Tool class attributes (#23389)

This commit is contained in:
Will 2025-08-05 10:20:28 +08:00 committed by GitHub
commit 7fe23a0ca6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 2 additions and 33 deletions

View file

@ -20,8 +20,6 @@ from core.tools.utils.dataset_retriever.dataset_retriever_base_tool import Datas
class DatasetRetrieverTool(Tool):
retrieval_tool: DatasetRetrieverBaseTool
def __init__(self, entity: ToolEntity, runtime: ToolRuntime, retrieval_tool: DatasetRetrieverBaseTool) -> None:
super().__init__(entity, runtime)
self.retrieval_tool = retrieval_tool