Skip to content

[BUG] #1445

@shankinson

Description

@shankinson

Description

When the manager sends a request to an agent, it uses a hard coded english message. Also, the task that is created does not use the agent i18n settings.

Steps to Reproduce

  1. Look at the code here: https://github.com/crewAIInc/crewAI/blob/main/src/crewai/agents/agent_builder/utilities/base_agent_tool.py#L80-L85

Expected behavior

The message should be compatible with the i18n prompt file. The task should also use the agent i18n settings.

Screenshots/Code snippets

image

Operating System

macOS Sonoma

Python Version

3.10

crewAI Version

0.70.1

crewAI Tools Version

0.12.1

Virtual Environment

Conda

Evidence

image

Possible Solution

Add a slice to the default i18n translations files. Set the i18n of the task to the same as the agent. I will submit a PR with the fix.

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions