From 0b43c13268d528cec9fe4b79eb7b7d4efa38e5c4 Mon Sep 17 00:00:00 2001 From: Luneye <73485421+Luneye@users.noreply.github.com> Date: Tue, 24 Oct 2023 23:41:08 +0200 Subject: Indicated support of message history in GPTalk.py --- g4f/Provider/GPTalk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'g4f') 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 -- cgit v1.2.3