@ -6,6 +6,7 @@ from langchain.callbacks.manager import (
CallbackManagerForToolRun,
)
classWorkerNode(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"
@ -28,9 +29,7 @@ class WorkerNode(BaseTool):
)
self.agent.chain.verbose=True
# @tool
# 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",
raiseNotImplementedError("WorkerNode does not support async")
raiseNotImplementedError("WorkerNode does not support async")
# 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"
# # 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",
# Imagine three different experts are answering this question. All experts will write down each chain of thought of each step of their thinking, then share it with the group. Then all experts will go on to the next step, etc. If any expert realises they're wrong at any point then they leave. The question is...