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)