From 4bfb71d749a985b27c8327326d15f5e5591110d0 Mon Sep 17 00:00:00 2001 From: Brandon Hancock Date: Fri, 28 Mar 2025 10:55:31 -0400 Subject: [PATCH] Clean up --- src/crewai/llm.py | 1 - src/crewai/tools/tool_usage.py | 8 -------- 2 files changed, 9 deletions(-) diff --git a/src/crewai/llm.py b/src/crewai/llm.py index baed78386..fb8367dfe 100644 --- a/src/crewai/llm.py +++ b/src/crewai/llm.py @@ -748,7 +748,6 @@ class LLM: if not LLMContextLengthExceededException( str(e) )._is_context_limit_error(str(e)): - print("HERE IS WHERE THE ERROR IS") logging.error(f"LiteLLM call failed: {str(e)}") raise diff --git a/src/crewai/tools/tool_usage.py b/src/crewai/tools/tool_usage.py index c881364da..c526aa112 100644 --- a/src/crewai/tools/tool_usage.py +++ b/src/crewai/tools/tool_usage.py @@ -52,14 +52,6 @@ class ToolUsageErrorException(Exception): super().__init__(self.message) -@dataclass -class ToolResult: - """Result of tool execution.""" - - result: str - result_as_answer: bool = False - - class ToolUsage: """ Class that represents the usage of a tool by an agent.