diff --git a/swarms/workers/worker.py b/swarms/workers/worker.py index b01ecd9f..4b5b5754 100644 --- a/swarms/workers/worker.py +++ b/swarms/workers/worker.py @@ -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