Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
use the same i18n as the agent for tool usage (#1440)
Stephen Hankinson24b09e97cd66
diff --git a/src/crewai/tools/tool_usage.py b/src/crewai/tools/tool_usage.pyindex ebc9c5914..f75a9443a 100644--- a/src/crewai/tools/tool_usage.py+++ b/src/crewai/tools/tool_usage.py@@ -59,7 +59,7 @@ class ToolUsage:agent: Any,action: Any,) -> None:- self._i18n: I18N = I18N()+ self._i18n: I18N = agent.i18nself._printer: Printer = Printer()self._telemetry: Telemetry = Telemetry()self._run_attempts: int = 1