pull/11/head
Kye 2 years ago
parent 387b8cf7d9
commit 8c0763c1f9

@ -30,7 +30,7 @@ except Exception as e:
class WorkerUltraNode:
def __init__(self, objective: str, openai_api_key: str):
self.openai_api_key = openai_api_key or os.getenv("OPENAI_API_KEY")
self.openai_api_key = openai_api_key
if not isinstance(objective, str):
raise TypeError("Objective must be a string")

Loading…
Cancel
Save