From 4d8817dfa4e68f50d8ac80a03bba166bc26a6d31 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 13:24:47 +0000 Subject: [PATCH] fix: remove debug logging due to Logger limitations Co-Authored-By: Joe Moura --- src/crewai/tools/tool_usage.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/crewai/tools/tool_usage.py b/src/crewai/tools/tool_usage.py index 6e3bb5674..b27b0e094 100644 --- a/src/crewai/tools/tool_usage.py +++ b/src/crewai/tools/tool_usage.py @@ -300,15 +300,10 @@ class ToolUsage: bool: True if the tool is being called with the same name and arguments as the last call, False otherwise. """ - self._logger.debug(f"Checking repeated usage for tool: {calling.tool_name}") if not self.tools_handler or not self.tools_handler.last_used_tool: return False last_tool_usage = self.tools_handler.last_used_tool - self._logger.debug( - f"Comparing with last tool: {last_tool_usage.tool_name}, " - f"args: {last_tool_usage.arguments}" - ) if calling.tool_name != last_tool_usage.tool_name: return False