main
Kye 2 years ago
parent 2af7fab21c
commit bd41be51b0

@ -13,9 +13,6 @@ class WorkerNode(BaseTool):
"""Useful for when you need to spawn an autonomous agent instance as a worker to accomplish complex tasks, it can search the internet or spawn child multi-modality models to process and generate images and text or audio and so on """
name = "WorkerNode"
description = "A worker node that can perform complex tasks"
llm: Any = Field(description="Language model")
tools: List[Tool] = Field(description="List of tools")
vectorstore: VectorStore = Field(description="Vector store")
def __init__(self, llm, tools, vectorstore):
super().__init__(llm=llm, tools=tools, vectorstore=vectorstore)

Loading…
Cancel
Save