pull/10/head
Kye 1 year ago
parent 737da490b6
commit 78e755d45d

@ -1,5 +1,5 @@
# from swarms import Swarms, swarm
from swarms.swarms import HierarchicalSwarm, swarm
from swarms.workers.worker_ultra_node import WorkerUltraNode, WorkerUltra, worker_ultra_node
# from swarms.workers.worker_ultra_node import WorkerUltraNode, WorkerUltra, worker_ultra_node
from swarms.workers.worker_node import WorkerNode, worker_node
from swarms.boss.boss_node import BossNode

@ -30,6 +30,8 @@ class AgentNodeInitializer:
embedding_size: int = 8192,
system_prompt: str = None,
max_iterations: int = None):
if not llm or not tools or not vectorstore:
logging.error("llm, tools, and vectorstore cannot be None.")
raise ValueError("llm, tools, and vectorstore cannot be None.")

Loading…
Cancel
Save