diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-11-05 15:02:39 +0100 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-11-05 15:02:39 +0100 |
commit | 3da7a14a72b574aae0b72d21f22490c3be4b47c6 (patch) | |
tree | 99a89c7cc001a853bf19ac729df1238a03d64c19 /g4f | |
parent | Provider removed (g4f/Provider/ChatHub.py) (diff) | |
download | gpt4free-3da7a14a72b574aae0b72d21f22490c3be4b47c6.tar gpt4free-3da7a14a72b574aae0b72d21f22490c3be4b47c6.tar.gz gpt4free-3da7a14a72b574aae0b72d21f22490c3be4b47c6.tar.bz2 gpt4free-3da7a14a72b574aae0b72d21f22490c3be4b47c6.tar.lz gpt4free-3da7a14a72b574aae0b72d21f22490c3be4b47c6.tar.xz gpt4free-3da7a14a72b574aae0b72d21f22490c3be4b47c6.tar.zst gpt4free-3da7a14a72b574aae0b72d21f22490c3be4b47c6.zip |
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/Provider/ChatgptFree.py | 3 | ||||
-rw-r--r-- | g4f/models.py | 3 |
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( |