delegation_tool_validationTier 1 · 70% confidence

ai-agents-delegation-tool-vali-delegate-work-tool-fails-with-validation-error-whe-d71df448

agent: ai_agents

When does this happen?

IF Delegate work tool fails with validation error when using gpt-4o-mini in hierarchical process: 'Arguments validation failed: 2 validation errors for DelegateWorkToolSchema', where task and context are passed as dicts instead of strings.

How others solved it

THEN Switch the manager_llm from gpt-4o-mini to a more capable model like gpt-4o. For example, set manager_llm=ChatOpenAI(temperature=0.1, model_name='gpt-4o') in the Crew configuration. Alternatively, consider downgrading crewAI to a version before the bug (e.g., <0.86.0), but model change is the verified workaround.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics