fix run attempt incrementation

This commit is contained in:
lorenzejay
2025-12-29 10:58:11 -08:00
parent 823ad24175
commit f7cbc2a88c

View File

@@ -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: