mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-02 15:52:34 +00:00
fix run attempt incrementation
This commit is contained in:
@@ -148,7 +148,6 @@ class ToolUsage:
|
|||||||
and tool.name == self._i18n.tools("add_image")["name"] # type: ignore
|
and tool.name == self._i18n.tools("add_image")["name"] # type: ignore
|
||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
self._run_attempts += 1
|
|
||||||
return self._use(tool_string=tool_string, tool=tool, calling=calling)
|
return self._use(tool_string=tool_string, tool=tool, calling=calling)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user