summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/ChatgptX.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-10-06 12:19:45 +0200
committerGitHub <noreply@github.com>2023-10-06 12:19:45 +0200
commit3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3 (patch)
treeec5f47b50c7d63c9bf0c141093c0a51aa98121c1 /g4f/Provider/ChatgptX.py
parent~ (diff)
parentFix: TypeError: 'type' object is not subscriptable (diff)
downloadgpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.tar
gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.tar.gz
gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.tar.bz2
gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.tar.lz
gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.tar.xz
gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.tar.zst
gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.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