mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-10 19:11:01 +00:00
Update g4f/models.py g4f/Provider/needs_auth/OpenaiChat.py
This commit is contained in:
parent
29c13e26cd
commit
32d471d0ed
@ -55,16 +55,13 @@ class OpenaiChat(AsyncGeneratorProvider, ProviderModelMixin):
|
||||
label = "OpenAI ChatGPT"
|
||||
url = "https://chatgpt.com"
|
||||
working = True
|
||||
supports_gpt_35_turbo = True
|
||||
supports_gpt_4 = True
|
||||
supports_message_history = True
|
||||
supports_system_message = True
|
||||
default_model = None
|
||||
default_vision_model = "gpt-4o"
|
||||
models = ["gpt-3.5-turbo", "gpt-4", "gpt-4-gizmo", "gpt-4o", "gpt-4o-mini", "auto"]
|
||||
models = [ "auto", "gpt-4o-mini", "gpt-4o", "gpt-4", "gpt-4-gizmo"]
|
||||
model_aliases = {
|
||||
"text-davinci-002-render-sha": "gpt-3.5-turbo",
|
||||
"": "gpt-3.5-turbo",
|
||||
"gpt-4-turbo-preview": "gpt-4",
|
||||
"dall-e": "gpt-4",
|
||||
}
|
||||
|
@ -80,7 +80,6 @@ gpt_35_long = Model(
|
||||
best_provider = IterListProvider([
|
||||
FreeGpt,
|
||||
You,
|
||||
OpenaiChat,
|
||||
Koala,
|
||||
ChatgptFree,
|
||||
FreeChatgpt,
|
||||
@ -105,7 +104,6 @@ gpt_35_turbo = Model(
|
||||
FreeGpt,
|
||||
You,
|
||||
Koala,
|
||||
OpenaiChat,
|
||||
ChatgptFree,
|
||||
FreeChatgpt,
|
||||
DDG,
|
||||
|
Loading…
Reference in New Issue
Block a user