From d136f5564d525adcf677e44a15f41243fb80d4b1 Mon Sep 17 00:00:00 2001 From: Kye Gomez Date: Fri, 31 May 2024 10:41:34 -0700 Subject: [PATCH] [CLEANUP] --- perplexity_agent.py => playground/agents/perplexity_agent.py | 0 pyproject.toml | 2 +- swarms/structs/agent.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename perplexity_agent.py => playground/agents/perplexity_agent.py (100%) diff --git a/perplexity_agent.py b/playground/agents/perplexity_agent.py similarity index 100% rename from perplexity_agent.py rename to playground/agents/perplexity_agent.py diff --git a/pyproject.toml b/pyproject.toml index 0d0e32a2..e6bbf86b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "swarms" -version = "5.1.3" +version = "5.1.4" description = "Swarms - Pytorch" license = "MIT" authors = ["Kye Gomez "] diff --git a/swarms/structs/agent.py b/swarms/structs/agent.py index 5da39aa5..ead7f2e7 100644 --- a/swarms/structs/agent.py +++ b/swarms/structs/agent.py @@ -756,7 +756,7 @@ class Agent(BaseStructure): if self.tools is not None: self.parse_and_execute_tools(response) - if exists(self.code_interpreter): + if self.code_interpreter is not False: self.code_interpreter_execution(response) if self.evaluator: