The provider is disconnected due to a Cloudflare issue. (g4f/Provider/ChatgptFree.py)

This commit is contained in:
kqlio67
2024-11-05 16:02:39 +02:00
parent 75549df2ba
commit 3da7a14a72
2 changed files with 3 additions and 3 deletions

View File

@@ -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",
}

View File

@@ -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(