Former-commit-id: 78e755d45d
pull/47/head
Kye 1 year ago
parent c5e685e3f7
commit 2ef778d7a4

@ -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