# TODO: Add RLHF Data collection, ask user how the swarm is performing
# TODO: Create an onboarding process if not settings are preconfigured like `from swarms import Swarm, Swarm()` => then initiate onboarding name your swarm + provide purpose + etc
# ---------- Constants ----------
ROOT_DIR="./data/"
classHierarchicalSwarm:
def__init__(
self,
@ -242,7 +262,7 @@ def swarm(
logging.error("Invalid objective")
raiseValueError("A valid objective is required")
try:
swarms=HierarchicalSwarm(api_key,model_id=model_type,use_async=False,model_type=model_type, logging_enabled=logging_enabled)# Turn off async
swarms=HierarchicalSwarm(api_key,model_id=model_type,use_async=False,model_type=model_type) #logging_enabled=logging_enabled) # Turn off async