From b3cffabf76a721e6884d01324a69745ba709a47b Mon Sep 17 00:00:00 2001 From: Kye Date: Thu, 13 Jul 2023 06:56:21 -0400 Subject: [PATCH] clean up Former-commit-id: 3cae2ca419a258bc5c6d984e49f6659b3085f72b --- swarms/agents/utils/ChatOpenAI.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/swarms/agents/utils/ChatOpenAI.py b/swarms/agents/utils/ChatOpenAI.py index a51125a8..9bcd39e4 100644 --- a/swarms/agents/utils/ChatOpenAI.py +++ b/swarms/agents/utils/ChatOpenAI.py @@ -160,13 +160,12 @@ class ChatOpenAI(BaseChatModel, BaseModel): extra = Extra.ignore - @abstractmethod @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."""