From 2cbad5fe32c9483c8cd2021c3ed6f6ec9dec6057 Mon Sep 17 00:00:00 2001 From: Kye Date: Thu, 6 Jul 2023 14:26:48 -0400 Subject: [PATCH] deleted create task and exceut tasks by accident --- swarms/agents/boss/boss_agent.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/swarms/agents/boss/boss_agent.py b/swarms/agents/boss/boss_agent.py index fd237d02..d8c000bb 100644 --- a/swarms/agents/boss/boss_agent.py +++ b/swarms/agents/boss/boss_agent.py @@ -20,3 +20,8 @@ class BossNode: print(f"Validation Error while initializing BabyAGI: {e}") except Exception as e: print(f"Unexpected Error while initializing BabyAGI: {e}") + def create_task(self, objective): + return {"objective": objective} + + def execute_task(self, task): + self.baby_agi(task) \ No newline at end of file