worker_node init

pull/160/head
Kye 2 years ago
parent 05d024d294
commit 57b87763c8

@ -1,3 +1,3 @@
# from swarms import Swarms, swarm
from swarms.swarms import Swarms, swarm
from swarms.agents.workers.worker_agent import worker_node
from swarms.agents import worker_node

@ -1 +1,2 @@
"""Agents, workers and bosses"""
"""Agents, workers and bosses"""
from swarms.agents.workers.worker_agent import worker_node

@ -91,4 +91,6 @@ class WorkerNodeInitializer:
def worker_node(openai_api_key):
initializer = WorkerNodeInitializer(openai_api_key)
worker_node = initializer.create_worker_node()
return worker_node
return worker_node

Loading…
Cancel
Save