You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
repeatedly throwing the error "I must stop using this action input. I'll try something else instead." and gets retry timeout or gives incorrect answer
#518
Open
Kalyan96 opened this issue
Apr 26, 2024
· 0 comments
to fix this issue and let the iterations run without interruptions , i commented the following code at location <[src/crewai/tools/tool_usage.py]> in crew-ai libraries :
if self._check_tool_repeated_usage(calling=calling):
try:
result = self._i18n.errors("task_repeated_usage").format(
tool_names=self.tools_names
)
self._printer.print(content=f"\n\n{result}\n", color="purple")
self._telemetry.tool_repeated_usage(
llm=self.function_calling_llm,
tool_name=tool.name,
attempts=self._run_attempts,
)
result = self._format_result(result=result)
return result
except Exception:
self.task.increment_tools_errors()
The text was updated successfully, but these errors were encountered:
to fix this issue and let the iterations run without interruptions , i commented the following code at location <[src/crewai/tools/tool_usage.py]> in crew-ai libraries :
The text was updated successfully, but these errors were encountered: