Hi, having issues with using hierarchical agent.
My crew is defined defined with
crew = Crew(
agents=agents,
tasks=tasks,
verbose=True,
process=Process.hierarchical,
manager_agent=self.barGPTHelper()
)
Right now there is only 1 task:
def research_trends_task(self, agent: Agent, context) -> Task
When I run I get the error:
encountered an error while trying to use the tool. This was the error: unhashable type: 'dict'.
Tool Delegate work to coworker accepts these inputs: Tool Name: Delegate work to coworker
Tool Arguments: {'task': {'description': 'The task to delegate', 'type': 'str'}, 'context': {'description': 'The context for the task', 'type': 'str'}, 'coworker': {'description': 'The role/name of the coworker to delegate to', 'type': 'str'}}
Tool Description: Delegate a specific task to one of the following coworkers: Trending Researcher
The input to this tool should be the coworker, the task you want them to do, and ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don't reference things but instead explain them.
Any ideas?