summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/deprecated
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/Provider/deprecated/AiAsk.py (renamed from g4f/Provider/AiAsk.py)4
-rw-r--r--g4f/Provider/deprecated/AiChatOnline.py (renamed from g4f/Provider/AiChatOnline.py)6
-rw-r--r--g4f/Provider/deprecated/ChatAnywhere.py (renamed from g4f/Provider/ChatAnywhere.py)4
-rw-r--r--g4f/Provider/deprecated/FakeGpt.py (renamed from g4f/Provider/FakeGpt.py)6
-rw-r--r--g4f/Provider/deprecated/GPTalk.py (renamed from g4f/Provider/GPTalk.py)8
-rw-r--r--g4f/Provider/deprecated/GeekGpt.py (renamed from g4f/Provider/GeekGpt.py)4
-rw-r--r--g4f/Provider/deprecated/Hashnode.py (renamed from g4f/Provider/Hashnode.py)6
-rw-r--r--g4f/Provider/deprecated/Ylokh.py (renamed from g4f/Provider/Ylokh.py)6
-rw-r--r--g4f/Provider/deprecated/__init__.py10
9 files changed, 31 insertions, 23 deletions
diff --git a/g4f/Provider/AiAsk.py b/g4f/Provider/deprecated/AiAsk.py
index 094ef076..6ea5f3e0 100644
--- a/g4f/Provider/AiAsk.py
+++ b/g4f/Provider/deprecated/AiAsk.py
@@ -1,8 +1,8 @@
from __future__ import annotations
from aiohttp import ClientSession
-from ..typing import AsyncResult, Messages
-from .base_provider import AsyncGeneratorProvider
+from ...typing import AsyncResult, Messages
+from ..base_provider import AsyncGeneratorProvider
class AiAsk(AsyncGeneratorProvider):
url = "https://e.aiask.me"
diff --git a/g4f/Provider/AiChatOnline.py b/g4f/Provider/deprecated/AiChatOnline.py
index cc3b5b8e..e690f28e 100644
--- a/g4f/Provider/AiChatOnline.py
+++ b/g4f/Provider/deprecated/AiChatOnline.py
@@ -3,9 +3,9 @@ from __future__ import annotations
import json
from aiohttp import ClientSession
-from ..typing import AsyncResult, Messages
-from .base_provider import AsyncGeneratorProvider
-from .helper import get_random_string
+from ...typing import AsyncResult, Messages
+from ..base_provider import AsyncGeneratorProvider
+from ..helper import get_random_string
class AiChatOnline(AsyncGeneratorProvider):
url = "https://aichatonline.org"
diff --git a/g4f/Provider/ChatAnywhere.py b/g4f/Provider/deprecated/ChatAnywhere.py
index 5f5f15de..d035eaf0 100644
--- a/g4f/Provider/ChatAnywhere.py
+++ b/g4f/Provider/deprecated/ChatAnywhere.py
@@ -2,8 +2,8 @@ from __future__ import annotations
from aiohttp import ClientSession, ClientTimeout
-from ..typing import AsyncResult, Messages
-from .base_provider import AsyncGeneratorProvider
+from ...typing import AsyncResult, Messages
+from ..base_provider import AsyncGeneratorProvider
class ChatAnywhere(AsyncGeneratorProvider):
diff --git a/g4f/Provider/FakeGpt.py b/g4f/Provider/deprecated/FakeGpt.py
index ee14abf4..99b6bb1a 100644
--- a/g4f/Provider/FakeGpt.py
+++ b/g4f/Provider/deprecated/FakeGpt.py
@@ -3,9 +3,9 @@ from __future__ import annotations
import uuid, time, random, json
from aiohttp import ClientSession
-from ..typing import AsyncResult, Messages
-from .base_provider import AsyncGeneratorProvider
-from .helper import format_prompt, get_random_string
+from ...typing import AsyncResult, Messages
+from ..base_provider import AsyncGeneratorProvider
+from ..helper import format_prompt, get_random_string
class FakeGpt(AsyncGeneratorProvider):
diff --git a/g4f/Provider/GPTalk.py b/g4f/Provider/deprecated/GPTalk.py
index 5749ff2e..5b36d37b 100644
--- a/g4f/Provider/GPTalk.py
+++ b/g4f/Provider/deprecated/GPTalk.py
@@ -3,14 +3,14 @@ from __future__ import annotations
import secrets, time, 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 GPTalk(AsyncGeneratorProvider):
url = "https://gptalk.net"
- working = True
+ working = False
supports_gpt_35_turbo = True
_auth = None
used_times = 0
diff --git a/g4f/Provider/GeekGpt.py b/g4f/Provider/deprecated/GeekGpt.py
index f1dea9b1..7a460083 100644
--- a/g4f/Provider/GeekGpt.py
+++ b/g4f/Provider/deprecated/GeekGpt.py
@@ -1,8 +1,8 @@
from __future__ import annotations
import requests, json
-from .base_provider import AbstractProvider
-from ..typing import CreateResult, Messages
+from ..base_provider import AbstractProvider
+from ...typing import CreateResult, Messages
from json import dumps
diff --git a/g4f/Provider/Hashnode.py b/g4f/Provider/deprecated/Hashnode.py
index 7a0c2903..c2c0ffb7 100644
--- a/g4f/Provider/Hashnode.py
+++ b/g4f/Provider/deprecated/Hashnode.py
@@ -2,9 +2,9 @@ from __future__ import annotations
from aiohttp import ClientSession
-from ..typing import AsyncResult, Messages
-from .base_provider import AsyncGeneratorProvider
-from .helper import get_random_hex
+from ...typing import AsyncResult, Messages
+from ..base_provider import AsyncGeneratorProvider
+from ..helper import get_random_hex
class SearchTypes():
quick = "quick"
diff --git a/g4f/Provider/Ylokh.py b/g4f/Provider/deprecated/Ylokh.py
index 11fe497f..dbff4602 100644
--- a/g4f/Provider/Ylokh.py
+++ b/g4f/Provider/deprecated/Ylokh.py
@@ -2,9 +2,9 @@ from __future__ import annotations
import json
-from ..requests import StreamSession
-from .base_provider import AsyncGeneratorProvider
-from ..typing import AsyncResult, Messages
+from ...requests import StreamSession
+from ..base_provider import AsyncGeneratorProvider
+from ...typing import AsyncResult, Messages
class Ylokh(AsyncGeneratorProvider):
url = "https://chat.ylokh.xyz"
diff --git a/g4f/Provider/deprecated/__init__.py b/g4f/Provider/deprecated/__init__.py
index 8ec5f2fc..f6b4a1d9 100644
--- a/g4f/Provider/deprecated/__init__.py
+++ b/g4f/Provider/deprecated/__init__.py
@@ -23,4 +23,12 @@ from .Opchatgpts import Opchatgpts
from .Yqcloud import Yqcloud
from .Aichat import Aichat
from .Berlin import Berlin
-from .Phind import Phind \ No newline at end of file
+from .Phind import Phind
+from .AiAsk import AiAsk
+from .AiChatOnline import AiChatOnline
+from .ChatAnywhere import ChatAnywhere
+from .FakeGpt import FakeGpt
+from .GeekGpt import GeekGpt
+from .GPTalk import GPTalk
+from .Hashnode import Hashnode
+from .Ylokh import Ylokh \ No newline at end of file