summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/deprecated
diff options
context:
space:
mode:
authorCommenter123321 <36051603+Commenter123321@users.noreply.github.com>2023-10-09 18:02:06 +0200
committerCommenter123321 <36051603+Commenter123321@users.noreply.github.com>2023-10-09 18:02:06 +0200
commit119817c96349807efaf87ee432ce46446542b66a (patch)
tree1dbdf4d4dbf4f6c8a8247274ef500a2f1de765d1 /g4f/Provider/deprecated
parentaivvm's no life creator keeps patching it, but I'm just better 😉 (diff)
parentMerge branch 'main' of https://github.com/xtekky/gpt4free (diff)
downloadgpt4free-119817c96349807efaf87ee432ce46446542b66a.tar
gpt4free-119817c96349807efaf87ee432ce46446542b66a.tar.gz
gpt4free-119817c96349807efaf87ee432ce46446542b66a.tar.bz2
gpt4free-119817c96349807efaf87ee432ce46446542b66a.tar.lz
gpt4free-119817c96349807efaf87ee432ce46446542b66a.tar.xz
gpt4free-119817c96349807efaf87ee432ce46446542b66a.tar.zst
gpt4free-119817c96349807efaf87ee432ce46446542b66a.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/deprecated/AiService.py (renamed from g4f/Provider/AiService.py)4
-rw-r--r--g4f/Provider/deprecated/ChatgptLogin.py (renamed from g4f/Provider/ChatgptLogin.py)2
-rw-r--r--g4f/Provider/deprecated/CodeLinkAva.py (renamed from g4f/Provider/CodeLinkAva.py)6
-rw-r--r--g4f/Provider/deprecated/DfeHub.py (renamed from g4f/Provider/DfeHub.py)4
-rw-r--r--g4f/Provider/deprecated/EasyChat.py (renamed from g4f/Provider/EasyChat.py)4
-rw-r--r--g4f/Provider/deprecated/Equing.py (renamed from g4f/Provider/Equing.py)4
-rw-r--r--g4f/Provider/deprecated/FastGpt.py (renamed from g4f/Provider/FastGpt.py)5
-rw-r--r--g4f/Provider/deprecated/Forefront.py (renamed from g4f/Provider/Forefront.py)4
-rw-r--r--g4f/Provider/deprecated/GetGpt.py (renamed from g4f/Provider/GetGpt.py)4
-rw-r--r--g4f/Provider/deprecated/Lockchat.py (renamed from g4f/Provider/Lockchat.py)4
-rw-r--r--g4f/Provider/deprecated/Opchatgpts.py (renamed from g4f/Provider/Opchatgpts.py)3
-rw-r--r--g4f/Provider/deprecated/V50.py (renamed from g4f/Provider/V50.py)4
-rw-r--r--g4f/Provider/deprecated/Wewordle.py (renamed from g4f/Provider/Wewordle.py)4
-rw-r--r--g4f/Provider/deprecated/Wuguokai.py (renamed from g4f/Provider/Wuguokai.py)4
-rw-r--r--g4f/Provider/deprecated/__init__.py14
15 files changed, 42 insertions, 28 deletions
diff --git a/g4f/Provider/AiService.py b/g4f/Provider/deprecated/AiService.py
index 2b5a6e7d..9b41e3c8 100644
--- a/g4f/Provider/AiService.py
+++ b/g4f/Provider/deprecated/AiService.py
@@ -2,8 +2,8 @@ from __future__ import annotations
import requests
-from ..typing import Any, CreateResult
-from .base_provider import BaseProvider
+from ...typing import Any, CreateResult
+from ..base_provider import BaseProvider
class AiService(BaseProvider):
diff --git a/g4f/Provider/ChatgptLogin.py b/g4f/Provider/deprecated/ChatgptLogin.py
index 3eb55a64..07f3b914 100644
--- a/g4f/Provider/ChatgptLogin.py
+++ b/g4f/Provider/deprecated/ChatgptLogin.py
@@ -3,7 +3,7 @@ from __future__ import annotations
import os, re
from aiohttp import ClientSession
-from .base_provider import AsyncProvider, format_prompt
+from ..base_provider import AsyncProvider, format_prompt
class ChatgptLogin(AsyncProvider):
diff --git a/g4f/Provider/CodeLinkAva.py b/g4f/Provider/deprecated/CodeLinkAva.py
index e3b3eb3e..8407ebb9 100644
--- a/g4f/Provider/CodeLinkAva.py
+++ b/g4f/Provider/deprecated/CodeLinkAva.py
@@ -3,14 +3,14 @@ from __future__ import annotations
from aiohttp import ClientSession
import json
-from ..typing import AsyncGenerator
-from .base_provider import AsyncGeneratorProvider
+from ...typing import AsyncGenerator
+from ..base_provider import AsyncGeneratorProvider
class CodeLinkAva(AsyncGeneratorProvider):
url = "https://ava-ai-ef611.web.app"
supports_gpt_35_turbo = True
- working = True
+ working = False
@classmethod
async def create_async_generator(
diff --git a/g4f/Provider/DfeHub.py b/g4f/Provider/deprecated/DfeHub.py
index d40e0380..4ea7501f 100644
--- a/g4f/Provider/DfeHub.py
+++ b/g4f/Provider/deprecated/DfeHub.py
@@ -6,8 +6,8 @@ import time
import requests
-from ..typing import Any, CreateResult
-from .base_provider import BaseProvider
+from ...typing import Any, CreateResult
+from ..base_provider import BaseProvider
class DfeHub(BaseProvider):
diff --git a/g4f/Provider/EasyChat.py b/g4f/Provider/deprecated/EasyChat.py
index dae5196d..ffe9a785 100644
--- a/g4f/Provider/EasyChat.py
+++ b/g4f/Provider/deprecated/EasyChat.py
@@ -5,8 +5,8 @@ import random
import requests
-from ..typing import Any, CreateResult
-from .base_provider import BaseProvider
+from ...typing import Any, CreateResult
+from ..base_provider import BaseProvider
class EasyChat(BaseProvider):
diff --git a/g4f/Provider/Equing.py b/g4f/Provider/deprecated/Equing.py
index 261c53c0..794274f2 100644
--- a/g4f/Provider/Equing.py
+++ b/g4f/Provider/deprecated/Equing.py
@@ -5,8 +5,8 @@ from abc import ABC, abstractmethod
import requests
-from ..typing import Any, CreateResult
-from .base_provider import BaseProvider
+from ...typing import Any, CreateResult
+from ..base_provider import BaseProvider
class Equing(BaseProvider):
diff --git a/g4f/Provider/FastGpt.py b/g4f/Provider/deprecated/FastGpt.py
index ef47f752..65efa29d 100644
--- a/g4f/Provider/FastGpt.py
+++ b/g4f/Provider/deprecated/FastGpt.py
@@ -6,10 +6,11 @@ from abc import ABC, abstractmethod
import requests
-from ..typing import Any, CreateResult
+from ...typing import Any, CreateResult
+from ..base_provider import BaseProvider
-class FastGpt(ABC):
+class FastGpt(BaseProvider):
url: str = 'https://chat9.fastgpt.me/'
working = False
needs_auth = False
diff --git a/g4f/Provider/Forefront.py b/g4f/Provider/deprecated/Forefront.py
index 8f51fb57..2f807e91 100644
--- a/g4f/Provider/Forefront.py
+++ b/g4f/Provider/deprecated/Forefront.py
@@ -4,8 +4,8 @@ import json
import requests
-from ..typing import Any, CreateResult
-from .base_provider import BaseProvider
+from ...typing import Any, CreateResult
+from ..base_provider import BaseProvider
class Forefront(BaseProvider):
diff --git a/g4f/Provider/GetGpt.py b/g4f/Provider/deprecated/GetGpt.py
index b96efaac..a5de1d29 100644
--- a/g4f/Provider/GetGpt.py
+++ b/g4f/Provider/deprecated/GetGpt.py
@@ -7,8 +7,8 @@ import uuid
import requests
from Crypto.Cipher import AES
-from ..typing import Any, CreateResult
-from .base_provider import BaseProvider
+from ...typing import Any, CreateResult
+from ..base_provider import BaseProvider
class GetGpt(BaseProvider):
diff --git a/g4f/Provider/Lockchat.py b/g4f/Provider/deprecated/Lockchat.py
index c15eec8d..4bd7c5fe 100644
--- a/g4f/Provider/Lockchat.py
+++ b/g4f/Provider/deprecated/Lockchat.py
@@ -4,8 +4,8 @@ import json
import requests
-from ..typing import Any, CreateResult
-from .base_provider import BaseProvider
+from ...typing import Any, CreateResult
+from ..base_provider import BaseProvider
class Lockchat(BaseProvider):
diff --git a/g4f/Provider/Opchatgpts.py b/g4f/Provider/deprecated/Opchatgpts.py
index 166323bd..ab0d68c9 100644
--- a/g4f/Provider/Opchatgpts.py
+++ b/g4f/Provider/deprecated/Opchatgpts.py
@@ -4,5 +4,4 @@ from .ChatgptLogin import ChatgptLogin
class Opchatgpts(ChatgptLogin):
- url = "https://opchatgpts.net"
- working = True \ No newline at end of file
+ url = "https://opchatgpts.net" \ No newline at end of file
diff --git a/g4f/Provider/V50.py b/g4f/Provider/deprecated/V50.py
index 81a95ba8..9a8b032c 100644
--- a/g4f/Provider/V50.py
+++ b/g4f/Provider/deprecated/V50.py
@@ -4,8 +4,8 @@ import uuid
import requests
-from ..typing import Any, CreateResult
-from .base_provider import BaseProvider
+from ...typing import Any, CreateResult
+from ..base_provider import BaseProvider
class V50(BaseProvider):
diff --git a/g4f/Provider/Wewordle.py b/g4f/Provider/deprecated/Wewordle.py
index a7bdc722..c30887fb 100644
--- a/g4f/Provider/Wewordle.py
+++ b/g4f/Provider/deprecated/Wewordle.py
@@ -3,12 +3,12 @@ from __future__ import annotations
import random, string, time
from aiohttp import ClientSession
-from .base_provider import AsyncProvider
+from ..base_provider import AsyncProvider
class Wewordle(AsyncProvider):
url = "https://wewordle.org"
- working = True
+ working = False
supports_gpt_35_turbo = True
@classmethod
diff --git a/g4f/Provider/Wuguokai.py b/g4f/Provider/deprecated/Wuguokai.py
index 0a46f6ee..311131cf 100644
--- a/g4f/Provider/Wuguokai.py
+++ b/g4f/Provider/deprecated/Wuguokai.py
@@ -4,8 +4,8 @@ import random
import requests
-from ..typing import Any, CreateResult
-from .base_provider import BaseProvider, format_prompt
+from ...typing import Any, CreateResult
+from ..base_provider import BaseProvider, format_prompt
class Wuguokai(BaseProvider):
diff --git a/g4f/Provider/deprecated/__init__.py b/g4f/Provider/deprecated/__init__.py
new file mode 100644
index 00000000..5c66c87f
--- /dev/null
+++ b/g4f/Provider/deprecated/__init__.py
@@ -0,0 +1,14 @@
+from .AiService import AiService
+from .CodeLinkAva import CodeLinkAva
+from .DfeHub import DfeHub
+from .EasyChat import EasyChat
+from .Forefront import Forefront
+from .GetGpt import GetGpt
+from .Opchatgpts import Opchatgpts
+from .Lockchat import Lockchat
+from .Wewordle import Wewordle
+from .Equing import Equing
+from .Wuguokai import Wuguokai
+from .V50 import V50
+from .FastGpt import FastGpt
+from .ChatgptLogin import ChatgptLogin \ No newline at end of file