From ffff1820338c6ef0a63dd6a30fe5f8d3da2ec3b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moura?= Date: Fri, 27 Dec 2024 16:17:42 -0300 Subject: [PATCH] mixxing translations --- src/crewai/tools/tool_usage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crewai/tools/tool_usage.py b/src/crewai/tools/tool_usage.py index 874e4eb9f..883d6f1ef 100644 --- a/src/crewai/tools/tool_usage.py +++ b/src/crewai/tools/tool_usage.py @@ -105,7 +105,7 @@ class ToolUsage: self._printer.print(content=f"\n\n{error}\n", color="red") return error - if isinstance(tool, CrewStructuredTool) and tool.name == 'Add image to content': + if isinstance(tool, CrewStructuredTool) and tool.name == self._i18n.tools("add_image")["name"]: try: result = self._use(tool_string=tool_string, tool=tool, calling=calling) return result