summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorkqlio67 <166700875+kqlio67@users.noreply.github.com>2024-07-27 11:23:56 +0200
committerkqlio67 <166700875+kqlio67@users.noreply.github.com>2024-07-27 11:23:56 +0200
commit32d471d0ed903977d055f51146c9323a0830c8e2 (patch)
tree63f7fd78c0dc242bf24f30fd515f0834b504c62e /g4f
parentComprehensive Update: New Providers, Model Enhancements, and Functionality Improvements (diff)
downloadgpt4free-32d471d0ed903977d055f51146c9323a0830c8e2.tar
gpt4free-32d471d0ed903977d055f51146c9323a0830c8e2.tar.gz
gpt4free-32d471d0ed903977d055f51146c9323a0830c8e2.tar.bz2
gpt4free-32d471d0ed903977d055f51146c9323a0830c8e2.tar.lz
gpt4free-32d471d0ed903977d055f51146c9323a0830c8e2.tar.xz
gpt4free-32d471d0ed903977d055f51146c9323a0830c8e2.tar.zst
gpt4free-32d471d0ed903977d055f51146c9323a0830c8e2.zip
Diffstat (limited to 'g4f')
-rw-r--r--g4f/Provider/needs_auth/OpenaiChat.py5
-rw-r--r--g4f/models.py2
2 files changed, 1 insertions, 6 deletions
diff --git a/g4f/Provider/needs_auth/OpenaiChat.py b/g4f/Provider/needs_auth/OpenaiChat.py
index e581cf55..82462040 100644
--- a/g4f/Provider/needs_auth/OpenaiChat.py
+++ b/g4f/Provider/needs_auth/OpenaiChat.py
@@ -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",
}
diff --git a/g4f/models.py b/g4f/models.py
index 0c66fd66..162182bd 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -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,