From 08be6a456f7e92593676e25378418fe2426fe09e Mon Sep 17 00:00:00 2001 From: Nicolas Nahas <45595586+nicorne@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:38:15 +0200 Subject: [PATCH] cleaning --- swarms/structs/agent.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/swarms/structs/agent.py b/swarms/structs/agent.py index b3809db1..1b4cbd21 100644 --- a/swarms/structs/agent.py +++ b/swarms/structs/agent.py @@ -822,9 +822,7 @@ class Agent(BaseStructure): all_responses.append(response) - # TODO: Implement reliablity check if self.tools is not None: - result = None result = self.parse_function_call_and_execute(response) if self.code_interpreter is True: @@ -852,7 +850,6 @@ class Agent(BaseStructure): # all_responses.append(evaluated_response) if self.output_validation: - result = None result = self.pydantic_validation(response) # Sentiment analysis