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: