summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/GPTalk.py
diff options
context:
space:
mode:
authorLuneye <73485421+Luneye@users.noreply.github.com>2023-10-24 23:41:08 +0200
committerGitHub <noreply@github.com>2023-10-24 23:41:08 +0200
commit0b43c13268d528cec9fe4b79eb7b7d4efa38e5c4 (patch)
tree87bfc90f55a9ef6a12a0aaa28010fe47edaa39d9 /g4f/Provider/GPTalk.py
parentIndicated support of message history in Yqcloud.py (diff)
downloadgpt4free-0b43c13268d528cec9fe4b79eb7b7d4efa38e5c4.tar
gpt4free-0b43c13268d528cec9fe4b79eb7b7d4efa38e5c4.tar.gz
gpt4free-0b43c13268d528cec9fe4b79eb7b7d4efa38e5c4.tar.bz2
gpt4free-0b43c13268d528cec9fe4b79eb7b7d4efa38e5c4.tar.lz
gpt4free-0b43c13268d528cec9fe4b79eb7b7d4efa38e5c4.tar.xz
gpt4free-0b43c13268d528cec9fe4b79eb7b7d4efa38e5c4.tar.zst
gpt4free-0b43c13268d528cec9fe4b79eb7b7d4efa38e5c4.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/GPTalk.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/GPTalk.py b/g4f/Provider/GPTalk.py
index c6b57d91..a5644fc4 100644
--- a/g4f/Provider/GPTalk.py
+++ b/g4f/Provider/GPTalk.py
@@ -11,6 +11,7 @@ from .helper import format_prompt
class GPTalk(AsyncGeneratorProvider):
url = "https://gptalk.net"
supports_gpt_35_turbo = True
+ supports_message_history = True
working = True
_auth = None
@@ -81,4 +82,4 @@ class GPTalk(AsyncGeneratorProvider):
break
message = json.loads(line[6:-1])["content"]
yield message[len(last_message):]
- last_message = message \ No newline at end of file
+ last_message = message