From 884c5c267193b7499260b477946529afa46ec0e6 Mon Sep 17 00:00:00 2001 From: Kye Date: Thu, 13 Jul 2023 07:36:54 -0400 Subject: [PATCH] back to chatopenai Former-commit-id: 33eaf1ad9a1043da913dae454ec9b62491139d31 --- swarms/agents/utils/ChatOpenAI.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/swarms/agents/utils/ChatOpenAI.py b/swarms/agents/utils/ChatOpenAI.py index 9bcd39e4..a6775c38 100644 --- a/swarms/agents/utils/ChatOpenAI.py +++ b/swarms/agents/utils/ChatOpenAI.py @@ -1,6 +1,5 @@ """OpenAI chat wrapper.""" from __future__ import annotations -from abc import abstractmethod import os import logging @@ -159,12 +158,6 @@ class ChatOpenAI(BaseChatModel, BaseModel): """Configuration for this pydantic object.""" extra = Extra.ignore - - @property - @abstractmethod - def _llm_type(self) -> str: - # Return a string indicating the type of this language model - return 'ChatOpenAI' def check_access(self) -> None: """Check that the user has access to the model."""