summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
Diffstat (limited to 'g4f')
-rw-r--r--g4f/Provider/ChatgptFree.py3
-rw-r--r--g4f/models.py3
2 files changed, 3 insertions, 3 deletions
diff --git a/g4f/Provider/ChatgptFree.py b/g4f/Provider/ChatgptFree.py
index d2837594..d1222efb 100644
--- a/g4f/Provider/ChatgptFree.py
+++ b/g4f/Provider/ChatgptFree.py
@@ -10,10 +10,11 @@ from .helper import format_prompt
class ChatgptFree(AsyncGeneratorProvider, ProviderModelMixin):
url = "https://chatgptfree.ai"
- working = True
+ working = False
_post_id = None
_nonce = None
default_model = 'gpt-4o-mini-2024-07-18'
+ models = [default_model]
model_aliases = {
"gpt-4o-mini": "gpt-4o-mini-2024-07-18",
}
diff --git a/g4f/models.py b/g4f/models.py
index 38cb37fa..612a4d68 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -15,7 +15,6 @@ from .Provider import (
ChatGpt,
Chatgpt4Online,
ChatGptEs,
- ChatgptFree,
ChatifyAI,
Cloudflare,
DarkAI,
@@ -140,7 +139,7 @@ gpt_4o = Model(
gpt_4o_mini = Model(
name = 'gpt-4o-mini',
base_provider = 'OpenAI',
- best_provider = IterListProvider([DDG, ChatGptEs, FreeNetfly, Pizzagpt, MagickPen, RubiksAI, Liaobots, ChatGpt, Airforce, ChatgptFree, Koala, OpenaiChat])
+ best_provider = IterListProvider([DDG, ChatGptEs, FreeNetfly, Pizzagpt, MagickPen, RubiksAI, Liaobots, ChatGpt, Airforce, Koala, OpenaiChat])
)
gpt_4_turbo = Model(