remove useless Tool class attributes (#23389)
This commit is contained in:
parent
d8584dc03a
commit
7fe23a0ca6
7 changed files with 2 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue