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