diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-11-11 19:38:44 +0100 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-11-11 19:38:44 +0100 |
commit | 5e4485f9a8e82bb14c6ad85be14dd6fece694a99 (patch) | |
tree | 485d9baed0edf4b7c4a72a7f3b337e0214b67984 /g4f | |
parent | Removed provider (g4f/Provider/AiMathGPT.py) (diff) | |
download | gpt4free-5e4485f9a8e82bb14c6ad85be14dd6fece694a99.tar gpt4free-5e4485f9a8e82bb14c6ad85be14dd6fece694a99.tar.gz gpt4free-5e4485f9a8e82bb14c6ad85be14dd6fece694a99.tar.bz2 gpt4free-5e4485f9a8e82bb14c6ad85be14dd6fece694a99.tar.lz gpt4free-5e4485f9a8e82bb14c6ad85be14dd6fece694a99.tar.xz gpt4free-5e4485f9a8e82bb14c6ad85be14dd6fece694a99.tar.zst gpt4free-5e4485f9a8e82bb14c6ad85be14dd6fece694a99.zip |
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/Provider/__init__.py | 1 | ||||
-rw-r--r-- | g4f/Provider/not_working/Chatgpt4Online.py (renamed from g4f/Provider/Chatgpt4Online.py) | 8 | ||||
-rw-r--r-- | g4f/Provider/not_working/__init__.py | 1 |
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 |