summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g4f/Provider/AiAsk.py4
-rw-r--r--g4f/Provider/ChatgptX.py4
2 files changed, 8 insertions, 0 deletions
diff --git a/g4f/Provider/AiAsk.py b/g4f/Provider/AiAsk.py
index 906b5575..0a44af3e 100644
--- a/g4f/Provider/AiAsk.py
+++ b/g4f/Provider/AiAsk.py
@@ -1,7 +1,11 @@
+from __future__ import annotations
+
from aiohttp import ClientSession
+
from ..typing import AsyncGenerator
from .base_provider import AsyncGeneratorProvider
+
class AiAsk(AsyncGeneratorProvider):
url = "https://e.aiask.me"
supports_gpt_35_turbo = True
diff --git a/g4f/Provider/ChatgptX.py b/g4f/Provider/ChatgptX.py
index eb62ddc9..2d932af2 100644
--- a/g4f/Provider/ChatgptX.py
+++ b/g4f/Provider/ChatgptX.py
@@ -1,9 +1,13 @@
+from __future__ import annotations
+
import re
+
from aiohttp import ClientSession
from .base_provider import AsyncProvider
from .helper import format_prompt
+
class ChatgptX(AsyncProvider):
url = "https://chatgptx.de"
supports_gpt_35_turbo = True