From 5bb49c062dd94af0d9a1ca5d7cb211bb395fe113 Mon Sep 17 00:00:00 2001 From: Kye Date: Sat, 29 Jul 2023 17:14:37 -0400 Subject: [PATCH] back Former-commit-id: a62069d3948465294efe677a07103599e36bb21d --- swarms/boss/boss_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarms/boss/boss_node.py b/swarms/boss/boss_node.py index 3bfcf9b5..8cf9d144 100644 --- a/swarms/boss/boss_node.py +++ b/swarms/boss/boss_node.py @@ -129,7 +129,7 @@ class BossNode: if not self.api_key: raise ValueError("[BossNode][ValueError][API KEY must be provided either as an argument or as an environment variable API_KEY]") - self.llm = llm_class + self.llm = self.initialize_llm(self.llm_class) todo_prompt = PromptTemplate.from_template(boss_system_prompt) todo_chain = LLMChain(llm=self.llm, prompt=todo_prompt)