mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 00:02:36 +00:00
feat: add type ignore
This commit is contained in:
@@ -119,8 +119,8 @@ class ToolUsage:
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
isinstance(tool, CrewStructuredTool)
|
isinstance(tool, CrewStructuredTool)
|
||||||
and tool.name == self._i18n.tools("add_image")["name"]
|
and tool.name == self._i18n.tools("add_image")["name"] # type: ignore
|
||||||
): # type: ignore
|
):
|
||||||
try:
|
try:
|
||||||
result = self._use(tool_string=tool_string, tool=tool, calling=calling)
|
result = self._use(tool_string=tool_string, tool=tool, calling=calling)
|
||||||
return result
|
return result
|
||||||
|
|||||||
Reference in New Issue
Block a user