From dff85f34bf15bc33f548ca8e498bf93903b84535 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 9 Aug 2023 18:19:45 -0400 Subject: [PATCH] no async chat --- swarms/agents/models/openai.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/swarms/agents/models/openai.py b/swarms/agents/models/openai.py index a553c9b6..6728298a 100644 --- a/swarms/agents/models/openai.py +++ b/swarms/agents/models/openai.py @@ -25,14 +25,14 @@ class OpenAI: params=params, save_messages=save_messages) - self.async_ai = AsyncAIChat( - api_key=self.api_key, - system=self.system, - console=console, - model=model, - params=params, - save_messages=save_messages - ) + # self.async_ai = AsyncAIChat( + # api_key=self.api_key, + # system=self.system, + # console=console, + # model=model, + # params=params, + # save_messages=save_messages + # ) except Exception as error: raise ValueError(f"Failed to initialize the chat with error: {error}, check inputs and input types")