pull/393/head
Kye 11 months ago
parent 36e9ed1373
commit 1a363be083

@ -6,6 +6,7 @@ from swarms.structs.task import Task
from swarms.utils.logger import logger from swarms.utils.logger import logger
from swarms.structs.agent import Agent from swarms.structs.agent import Agent
@dataclass @dataclass
class AsyncWorkflow: class AsyncWorkflow:
""" """

@ -6,6 +6,7 @@ from termcolor import colored
from swarms.structs.task import Task from swarms.structs.task import Task
from swarms.utils.logger import logger from swarms.utils.logger import logger
from swarms.structs.agent import Agent
# SequentialWorkflow class definition using dataclasses # SequentialWorkflow class definition using dataclasses
@ -47,6 +48,7 @@ class SequentialWorkflow:
) )
restore_state_filepath: Optional[str] = None restore_state_filepath: Optional[str] = None
dashboard: bool = False dashboard: bool = False
agents: List[Agent] = None
def add( def add(
self, self,

Loading…
Cancel
Save