From f7cbc2a88ca9d3951cac56d383ee7955ca949604 Mon Sep 17 00:00:00 2001 From: lorenzejay Date: Mon, 29 Dec 2025 10:58:11 -0800 Subject: [PATCH] fix run attempt incrementation --- lib/crewai/src/crewai/tools/tool_usage.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/crewai/src/crewai/tools/tool_usage.py b/lib/crewai/src/crewai/tools/tool_usage.py index edf5e3e45..ab3d0fc25 100644 --- a/lib/crewai/src/crewai/tools/tool_usage.py +++ b/lib/crewai/src/crewai/tools/tool_usage.py @@ -148,7 +148,6 @@ class ToolUsage: and tool.name == self._i18n.tools("add_image")["name"] # type: ignore ): try: - self._run_attempts += 1 return self._use(tool_string=tool_string, tool=tool, calling=calling) except Exception as e: