summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/providers-and-models.md1
-rw-r--r--g4f/Provider/__init__.py1
-rw-r--r--g4f/Provider/not_working/Chatgpt4Online.py (renamed from g4f/Provider/Chatgpt4Online.py)8
-rw-r--r--g4f/Provider/not_working/__init__.py1
4 files changed, 5 insertions, 6 deletions
diff --git a/docs/providers-and-models.md b/docs/providers-and-models.md
index 17f47378..a305b481 100644
--- a/docs/providers-and-models.md
+++ b/docs/providers-and-models.md
@@ -28,7 +28,6 @@ This document provides an overview of various AI providers and models, including
|[chatgot.one](https://www.chatgot.one/)|`g4f.Provider.ChatGot`|`gemini-pro`|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌|
|[chatgpt.com](https://chatgpt.com)|`g4f.Provider.ChatGpt`|`?`|`?`|`?`|?|![Unknown](https://img.shields.io/badge/Unknown-grey) |❌|
|[chatgpt.es](https://chatgpt.es)|`g4f.Provider.ChatGptEs`|`gpt-4o, gpt-4o-mini`|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌|
-|[chatgpt4online.org](https://chatgpt4online.org)|`g4f.Provider.Chatgpt4Online`|`gpt-4`|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌|
|[chatify-ai.vercel.app](https://chatify-ai.vercel.app)|`g4f.Provider.ChatifyAI`|`llama-3.1-8b`|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌|
|[playground.ai.cloudflare.com](https://playground.ai.cloudflare.com)|`g4f.Provider.Cloudflare`|`gemma-7b, llama-2-7b, llama-3-8b, llama-3.1-8b, llama-3.2-1b, phi-2, qwen-1.5-0-5b, qwen-1.5-8b, qwen-1.5-14b, qwen-1.5-7b`|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌|
|[darkai.foundation/chat](https://darkai.foundation/chat)|`g4f.Provider.DarkAI`|`gpt-4o, gpt-3.5-turbo, llama-3-70b, llama-3-405b`|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌|
diff --git a/g4f/Provider/__init__.py b/g4f/Provider/__init__.py
index 60942581..6b9f131f 100644
--- a/g4f/Provider/__init__.py
+++ b/g4f/Provider/__init__.py
@@ -17,7 +17,6 @@ from .Airforce import Airforce
from .Bing import Bing
from .Blackbox import Blackbox
from .ChatGpt import ChatGpt
-from .Chatgpt4Online import Chatgpt4Online
from .ChatGptEs import ChatGptEs
from .ChatifyAI import ChatifyAI
from .Cloudflare import Cloudflare
diff --git a/g4f/Provider/Chatgpt4Online.py b/g4f/Provider/not_working/Chatgpt4Online.py
index 627facf6..b0552e45 100644
--- a/g4f/Provider/Chatgpt4Online.py
+++ b/g4f/Provider/not_working/Chatgpt4Online.py
@@ -3,15 +3,15 @@ from __future__ import annotations
import json
from aiohttp import ClientSession
-from ..typing import AsyncResult, Messages
-from .base_provider import AsyncGeneratorProvider
-from .helper import format_prompt
+from ...typing import AsyncResult, Messages
+from ..base_provider import AsyncGeneratorProvider
+from ..helper import format_prompt
class Chatgpt4Online(AsyncGeneratorProvider):
url = "https://chatgpt4online.org"
api_endpoint = "/wp-json/mwai-ui/v1/chats/submit"
- working = True
+ working = False
default_model = 'gpt-4'
models = [default_model]
diff --git a/g4f/Provider/not_working/__init__.py b/g4f/Provider/not_working/__init__.py
index e1da3032..051d3486 100644
--- a/g4f/Provider/not_working/__init__.py
+++ b/g4f/Provider/not_working/__init__.py
@@ -12,3 +12,4 @@ from .FreeNetfly import FreeNetfly
from .GPROChat import GPROChat
from .Koala import Koala
from .MyShell import MyShell
+from .Chatgpt4Online import Chatgpt4Online