pull/55/head
Kye 1 year ago
parent 42c0e8b1d4
commit 4d97824b67

@ -25,14 +25,16 @@ class Worker:
@log_decorator
@error_decorator
@timing_decorator
def __init__(self,
model_name="gpt-4",
openai_api_key=None,
ai_name="Autobot Swarm Worker",
ai_role="Worker in a swarm",
external_tools = None,
human_in_the_loop=False,
temperature=0.5):
def __init__(
self,
model_name="gpt-4",
openai_api_key=None,
ai_name="Autobot Swarm Worker",
ai_role="Worker in a swarm",
external_tools = None,
human_in_the_loop=False,
temperature=0.5
):
self.openai_api_key = openai_api_key
self.temperature = temperature
self.human_in_the_loop = human_in_the_loop

Loading…
Cancel
Save