From 643e05c2f7ca8d0ea8e9e7a63be87218575a5b62 Mon Sep 17 00:00:00 2001 From: Kye <kye@apacmediasolutions.com> Date: Wed, 9 Aug 2023 18:19:45 -0400 Subject: [PATCH] no async chat Former-commit-id: 86e014c551969186016c1c8feea1c2c775228bae --- 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")