From ce389443128eb68b447684ea40d98ceb7de02e0d Mon Sep 17 00:00:00 2001 From: Kye Date: Tue, 26 Sep 2023 09:52:44 -0400 Subject: [PATCH] clean up --- pyproject.toml | 2 +- swarms/swarms/god_mode.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ca2f5da9..2fe82862 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "swarms" -version = "1.6.6" +version = "1.6.7" description = "Swarms - Pytorch" license = "MIT" authors = ["Kye Gomez "] diff --git a/swarms/swarms/god_mode.py b/swarms/swarms/god_mode.py index 603abe8b..96ea93e4 100644 --- a/swarms/swarms/god_mode.py +++ b/swarms/swarms/god_mode.py @@ -27,7 +27,8 @@ class GodMode: responses = executor.map( lambda agent: agent.run(task) if hasattr( agent, 'run' - ) else agent(task), self.all_agents) + ) else agent(task), self.all_agents + ) return list(responses)