pull/10/head
Kye 2 years ago
parent ea3c96c202
commit b3c8ae76bd

@ -44,8 +44,11 @@ import celery
from typing import List, Dict, Any from typing import List, Dict, Any
import numpy as np import numpy as np
from swarms.agents.
class Orchestrator(ABC): class Orchestrator(ABC):
def __init__(self, agent_list: List[Any], task_queue: celery.Celery, vector_db: np.ndarray): def __init__(self, agent, agent_list: List[Any], task_queue: celery.Celery, vector_db: np.ndarray):
self.agent = agent
self.agents = agent_list self.agents = agent_list
self.task_queue = task_queue self.task_queue = task_queue
self.vector_db = vector_db self.vector_db = vector_db

Loading…
Cancel
Save