back to chatopenai

Former-commit-id: feaabebad8
workerULTRANODE
Kye 2 years ago
parent d6dc3aa8b9
commit c1fed768e3

@ -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."""

Loading…
Cancel
Save