summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/GPTalk.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-10-25 15:07:40 +0200
committerGitHub <noreply@github.com>2023-10-25 15:07:40 +0200
commita167970d766671ccb79613dbeacf5747f9c3f2bf (patch)
tree1e6c5479bd3793cfef48775229764c22881e5e8a /g4f/Provider/GPTalk.py
parentMerge pull request #1152 from guspan-tanadi/Providerlinkpath-1 (diff)
parentIndicated support of message history in GptForLove.py (diff)
downloadgpt4free-a167970d766671ccb79613dbeacf5747f9c3f2bf.tar
gpt4free-a167970d766671ccb79613dbeacf5747f9c3f2bf.tar.gz
gpt4free-a167970d766671ccb79613dbeacf5747f9c3f2bf.tar.bz2
gpt4free-a167970d766671ccb79613dbeacf5747f9c3f2bf.tar.lz
gpt4free-a167970d766671ccb79613dbeacf5747f9c3f2bf.tar.xz
gpt4free-a167970d766671ccb79613dbeacf5747f9c3f2bf.tar.zst
gpt4free-a167970d766671ccb79613dbeacf5747f9c3f2bf.zip
Diffstat (limited to 'g4f/Provider/GPTalk.py')
-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