From c4da2359c2da86f228b40fa44a89db7eecc944d2 Mon Sep 17 00:00:00 2001 From: Kye Date: Tue, 8 Aug 2023 11:26:28 -0400 Subject: [PATCH] indentation --- swarms/agents/models/openai.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/swarms/agents/models/openai.py b/swarms/agents/models/openai.py index 8fb98edb..71dfd126 100644 --- a/swarms/agents/models/openai.py +++ b/swarms/agents/models/openai.py @@ -10,7 +10,12 @@ class OpenAI: save_messages=True): self.api_key = api_key or self._fetch_api_key() self.system = system or "You are a helpful assistant" - self.ai = AIChat(api_key=self.api_key, system=self.system, console=console, model=model, params=params, save_messages=save_messages) + self.ai = AIChat(api_key=self.api_key, + system=self.system, + console=console, + model=model, + params=params, + save_messages=save_messages) def generate(self, message, **kwargs): try: @@ -26,4 +31,5 @@ class OpenAI: #from swarms import OpenAI() #chat = OpenAI() #response = chat("Hello World") -#print(response) \ No newline at end of file +#print(response) +