mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 16:48:30 +00:00
use the same i18n as the agent for tool usage (#1440)
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
42f960b2bd
commit
8720316e2f
@@ -59,7 +59,7 @@ class ToolUsage:
|
|||||||
agent: Any,
|
agent: Any,
|
||||||
action: Any,
|
action: Any,
|
||||||
) -> None:
|
) -> None:
|
||||||
self._i18n: I18N = I18N()
|
self._i18n: I18N = agent.i18n
|
||||||
self._printer: Printer = Printer()
|
self._printer: Printer = Printer()
|
||||||
self._telemetry: Telemetry = Telemetry()
|
self._telemetry: Telemetry = Telemetry()
|
||||||
self._run_attempts: int = 1
|
self._run_attempts: int = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user