feat: fix type checking issues

This commit is contained in:
Eduardo Chiarotti
2025-02-10 11:04:12 -03:00
parent 16722925eb
commit c20020e3fb
4 changed files with 10 additions and 7 deletions

View File

@@ -119,8 +119,8 @@ class ToolUsage:
if (
isinstance(tool, CrewStructuredTool)
and tool.name == self._i18n.tools("add_image")["name"]
): # type: ignore
and tool.name == self._i18n.tools("add_image")["name"] # type: ignore
):
try:
result = self._use(tool_string=tool_string, tool=tool, calling=calling)
return result