Former-commit-id: 58fd7ad5ab
group-chat
Kye 1 year ago
parent 878aada22c
commit 229766f27e

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry] [tool.poetry]
name = "swarms" name = "swarms"
version = "1.6.9" version = "1.7.1"
description = "Swarms - Pytorch" description = "Swarms - Pytorch"
license = "MIT" license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"] authors = ["Kye Gomez <kye@apac.ai>"]

@ -3,7 +3,7 @@ from swarms.logo import logo2
print(logo2) print(logo2)
# worker # worker
import swarms.workers from swarms import workers
from swarms.workers.worker import Worker from swarms.workers.worker import Worker
#boss #boss
@ -13,10 +13,11 @@ from swarms.workers.worker import Worker
from swarms import models from swarms import models
#structs #structs
from s from swarms import structs
# swarms # swarms
import swarms.swarms from swarms import swarms
from swarms.swarms.orchestrate import Orchestrator from swarms.swarms.orchestrate import Orchestrator
#agents #agents
import swarms.agents from swarms import agents

@ -27,7 +27,7 @@ class GodMode:
god_mode.run(task) god_mode.run(task)
god_mode.print_responses(task) god_mode.print_responses(task)
""" """
@ -40,6 +40,7 @@ class GodMode:
return list(responses) return list(responses)
def print_responses(self, task): def print_responses(self, task):
"""Prints the responses in a tabular format"""
responses = self.run_all(task) responses = self.run_all(task)
table = [] table = []
for i, response in enumerate(responses): for i, response in enumerate(responses):

Loading…
Cancel
Save