mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-28 02:21:39 +08:00
The provider is disconnected due to a Cloudflare issue. (g4f/Provider/ChatgptFree.py)
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user