summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorLuneye <73485421+Luneye@users.noreply.github.com>2023-10-24 23:30:07 +0200
committerGitHub <noreply@github.com>2023-10-24 23:30:07 +0200
commitdc798b520db2ab8958f3b01d4d2ee8ac6a52bccd (patch)
tree1193fd7d48848cefd146423a629c563da4ca6dc2 /g4f
parent[suggestion] Adding new parameter to check if provider supports message history (diff)
downloadgpt4free-dc798b520db2ab8958f3b01d4d2ee8ac6a52bccd.tar
gpt4free-dc798b520db2ab8958f3b01d4d2ee8ac6a52bccd.tar.gz
gpt4free-dc798b520db2ab8958f3b01d4d2ee8ac6a52bccd.tar.bz2
gpt4free-dc798b520db2ab8958f3b01d4d2ee8ac6a52bccd.tar.lz
gpt4free-dc798b520db2ab8958f3b01d4d2ee8ac6a52bccd.tar.xz
gpt4free-dc798b520db2ab8958f3b01d4d2ee8ac6a52bccd.tar.zst
gpt4free-dc798b520db2ab8958f3b01d4d2ee8ac6a52bccd.zip
Diffstat (limited to 'g4f')
-rw-r--r--g4f/Provider/ChatgptX.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/ChatgptX.py b/g4f/Provider/ChatgptX.py
index 9a8711b9..75ff0da5 100644
--- a/g4f/Provider/ChatgptX.py
+++ b/g4f/Provider/ChatgptX.py
@@ -12,6 +12,7 @@ from .helper import format_prompt
class ChatgptX(AsyncGeneratorProvider):
url = "https://chatgptx.de"
supports_gpt_35_turbo = True
+ supports_message_history = True
working = True
@classmethod
@@ -96,4 +97,4 @@ class ChatgptX(AsyncGeneratorProvider):
except:
raise RuntimeError(f"Broken line: {line.decode()}")
if content:
- yield content \ No newline at end of file
+ yield content