clean up workernode

main
Kye 2 years ago
parent 2b7d620d22
commit 78dededda7

@ -26,10 +26,9 @@ class WorkerNode(BaseTool):
) )
self.agent.chain.verbose = True self.agent.chain.verbose = True
@tool( @tool
name="Worker AutoBot Agent", # name="Worker AutoBot Agent",
description="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", # description="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",
)
def _run( def _run(
self, prompt: str, run_manager: Optional[CallbackManagerForToolRun] = None self, prompt: str, run_manager: Optional[CallbackManagerForToolRun] = None
) -> str: ) -> str:

Loading…
Cancel
Save