From aefadb12454b50709c4f442c502cebb9632db1b9 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 5 Jul 2023 23:13:04 -0400 Subject: [PATCH] openai class for run swarms --- swarms/swarms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarms/swarms.py b/swarms/swarms.py index 535bab19..d211daa6 100644 --- a/swarms/swarms.py +++ b/swarms/swarms.py @@ -58,7 +58,7 @@ class Swarms: def run_swarms(self, objective): # Run the swarm with the given objective - worker_tools = self.initialize_tools(ChatOpenAI) + worker_tools = self.initialize_tools(OpenAI) vectorstore = self.initialize_vectorstore() worker_node = self.initialize_worker_node(worker_tools, vectorstore) boss_node = self.initialize_boss_node(vectorstore, worker_node)