summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/ChatgptX.py
diff options
context:
space:
mode:
authorhs_junxiang <jimmy871117@gmail.com>2023-10-06 09:50:16 +0200
committerhs_junxiang <jimmy871117@gmail.com>2023-10-06 09:50:16 +0200
commitdbf54769e0c124f59d212108669d4fd95692a2ff (patch)
treeb8c82720c51f9b6aa83256205f6106b70274b019 /g4f/Provider/ChatgptX.py
parent~ | g4f v-0.1.4.9 [major updates and patches] (diff)
downloadgpt4free-dbf54769e0c124f59d212108669d4fd95692a2ff.tar
gpt4free-dbf54769e0c124f59d212108669d4fd95692a2ff.tar.gz
gpt4free-dbf54769e0c124f59d212108669d4fd95692a2ff.tar.bz2
gpt4free-dbf54769e0c124f59d212108669d4fd95692a2ff.tar.lz
gpt4free-dbf54769e0c124f59d212108669d4fd95692a2ff.tar.xz
gpt4free-dbf54769e0c124f59d212108669d4fd95692a2ff.tar.zst
gpt4free-dbf54769e0c124f59d212108669d4fd95692a2ff.zip
Diffstat (limited to 'g4f/Provider/ChatgptX.py')
-rw-r--r--g4f/Provider/ChatgptX.py4
1 files changed, 4 insertions, 0 deletions
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