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:
Stephen HankinsonandBrandon Hancock authored and GitHub committed 2024-10-16 10:38:42 -04:00
1 parent 42f960b2bd
commit 8720316e2f
1 file changed
+1 -1
+1 -1
View File
@@ -59,7 +59,7 @@ class ToolUsage:
agent: Any,
action: Any,
) -> None:
self._i18n: I18N = I18N()
self._i18n: I18N = agent.i18n
self._printer: Printer = Printer()
self._telemetry: Telemetry = Telemetry()
self._run_attempts: int = 1