Multi-agent Work | Tool Error | Delegation

I was not sure why I see this when there is no tool being used by my agents. Can you help me with this?

One thing it does not delegate to other agent, second Avoid this AgentOps as i am not interested to use this…

My agents

  1. common_themes_competitor_sentiments
  2. different_trends_competitor_sentiments
  3. better_trends_competitor_sentiments
  4. improvements_competitor_sentiments
  5. opportunities_competitor_sentiments
  6. final_response_generator_competitor_sentiments
  7. sentiment_analyzer_competitor_sentiments (allow_delegation = True)

A single task

sentiment_analysis_task = Task(
    agent=sentiment_expert_agent,
    output_json=SentimentAnalysis,
    description=// prompt .. {sentiment_context},
    expected_output=// prompt contains specific output in JSON structure
)

Crew

crew = Crew(
    agents=[
        sentiment_expert_agent,

        common_themes_agent,
        different_trends_agent,
        better_trends_agent,
        advantage_agent,
        improvements_agent,
        opportunities_agent,
        final_response_generator
    ],
    tasks=[sentiment_analysis_task],
    verbose=True,   
)
result = crew.kickoff(inputs={"sentiments_context": all_sentiments})

Error

🖇 AgentOps: Could not record event - no sessions detected. Create a session by calling agentops.start_session()
 

I encountered an error while trying to use the tool. This was the error: Arguments validation failed: 2 validation errors for DelegateWorkToolSchema
task
  Input should be a valid string [type=string_type, input_value={'description': 'Analyze ...titors.', 'type': 'str'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.10/v/string_type
context
  Input should be a valid string [type=string_type, input_value={'description': 'The sent...nities.', 'type': 'str'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.10/v/string_type.
 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: Common Themes Specialist, Different Trends Specialist, Better Trends Specialist, Advantage Specialist, Improvements Specialist, Opportunities Specialist, Final Response Generator
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.

Your Suggestions?

any?