diff --git a/swarms/hivemind.py b/swarms/hivemind.py index 66b87782..cbe421c4 100644 --- a/swarms/hivemind.py +++ b/swarms/hivemind.py @@ -1,4 +1,4 @@ -# many boss + workers in unison +# workers in unison #kye gomez jul 13 4:01pm, can scale up the number of swarms working on a probkem with `hivemind(swarms=4, or swarms=auto which will scale the agents depending on the complexity)` import concurrent.futures @@ -11,8 +11,8 @@ from swarms.agents.tools.agent_tools import * logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s') - # add typechecking, documentation, and deeper error handling +# TODO: MANY WORKERS class HiveMind: def __init__(self, openai_api_key="", num_swarms=1, max_workers=None): self.openai_api_key = openai_api_key diff --git a/swarms/swarms.py b/swarms/swarms.py index d2e9dc56..156d3c22 100644 --- a/swarms/swarms.py +++ b/swarms/swarms.py @@ -17,6 +17,8 @@ from swarms.utils.task import Task # TODO: Pass in abstract LLM class that can utilize Hf or Anthropic models # TODO: Move away from OPENAI +# TODO: ADD Universal Communication Layer, a vectorstore +# TODO: BE MORE EXPLICIT ON TOOL USE, TASK DECOMPOSITION AND TASK COMPLETETION AND ALLOCATION class Swarms: def __init__(self, openai_api_key="", use_vectorstore=True, use_async=True, human_in_the_loop=True): #openai_api_key: the openai key. Default is empty