Tool error in the crew where tools are not using
I am not using any built-in or custom tools in my agentic workflow. Still, I am getting the below error while running a crew.
I encountered an error while trying to use the tool. This was the error: 1 validation error for Delegate work to coworkerSchema
context
field required (type=value_error.missing).
Tool Delegate work to coworker accepts these inputs: Delegate a specific task to one of the following coworkers:
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.
Hey, we are having same issue. Just out of curiosity, what models are you using?
@SamuelKocur I am using gpt 3.5 model from open ai
ive been having this issue for months, im using groq and llama3
I'm having the same issue with vllm and mixtral8x7b
I started to see this issue today, how did you fix this?
is there anything new? i simply instantiated two agents, one general and one specific, and neither of them has a tool. when i input a message as simple as 'hi' i get something like
# Agent: Dispatcher Agent
## Using tool: Ask question to coworker
## Tool Input:
"{\"question\": \"Why is \\\"hi\\\" not recognized?\", \"context\": \"History: hi\"}"
## Tool Output:
I encountered an error while trying to use the tool. This was the error: Arguments validation failed: 1 validation error for AskQuestionToolSchema
coworker
Field required [type=missing, input_value={'question': 'Why is "hi"...context': 'History: hi'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.10/v/missing.
Tool Ask question to coworker accepts these inputs: Tool Name: Ask question to coworker
Tool Arguments: {'question': {'description': 'The question to ask', 'type': 'str'}, 'context': {'description': 'The context for the question', 'type': 'str'}, 'coworker': {'description': 'The role/name of the coworker to ask', 'type': 'str'}}
Tool Description: Ask a specific question to one of the following coworkers: General Agent
The input to this tool should be the coworker, the question you have for them, and ALL necessary context to ask the question properly, they know nothing about the question, so share absolute everything you know, don't reference things but instead explain them..
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.