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
- 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
Operating System
macOS Sonoma
Python Version
3.10
crewAI Version
0.70.1
crewAI Tools Version
0.12.1
Virtual Environment
Conda
Evidence
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
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
Expected behavior
The message should be compatible with the i18n prompt file. The task should also use the agent i18n settings.
Screenshots/Code snippets
Operating System
macOS Sonoma
Python Version
3.10
crewAI Version
0.70.1
crewAI Tools Version
0.12.1
Virtual Environment
Conda
Evidence
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