summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
diff options
context:
space:
mode:
Diffstat (limited to 'g4f/Provider')
-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
3 files changed, 5 insertions, 5 deletions
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