From 1a363be0839454c1287650353108cb9905774c64 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 28 Feb 2024 11:03:44 -0800 Subject: [PATCH] [CLEANUP] --- swarms/structs/async_workflow.py | 1 + swarms/structs/sequential_workflow.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/swarms/structs/async_workflow.py b/swarms/structs/async_workflow.py index 4a93721b..0d5e85b7 100644 --- a/swarms/structs/async_workflow.py +++ b/swarms/structs/async_workflow.py @@ -6,6 +6,7 @@ from swarms.structs.task import Task from swarms.utils.logger import logger from swarms.structs.agent import Agent + @dataclass class AsyncWorkflow: """ diff --git a/swarms/structs/sequential_workflow.py b/swarms/structs/sequential_workflow.py index f4e8c596..c05b8fb0 100644 --- a/swarms/structs/sequential_workflow.py +++ b/swarms/structs/sequential_workflow.py @@ -6,6 +6,7 @@ from termcolor import colored from swarms.structs.task import Task from swarms.utils.logger import logger +from swarms.structs.agent import Agent # SequentialWorkflow class definition using dataclasses @@ -47,6 +48,7 @@ class SequentialWorkflow: ) restore_state_filepath: Optional[str] = None dashboard: bool = False + agents: List[Agent] = None def add( self,