mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 08:29:30 -04:00
Indicated support of message history in GPTalk.py
This commit is contained in:
parent
c43f82e966
commit
0b43c13268
@ -11,6 +11,7 @@ from .helper import format_prompt
|
|||||||
class GPTalk(AsyncGeneratorProvider):
|
class GPTalk(AsyncGeneratorProvider):
|
||||||
url = "https://gptalk.net"
|
url = "https://gptalk.net"
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
|
supports_message_history = True
|
||||||
working = True
|
working = True
|
||||||
_auth = None
|
_auth = None
|
||||||
|
|
||||||
@ -81,4 +82,4 @@ class GPTalk(AsyncGeneratorProvider):
|
|||||||
break
|
break
|
||||||
message = json.loads(line[6:-1])["content"]
|
message = json.loads(line[6:-1])["content"]
|
||||||
yield message[len(last_message):]
|
yield message[len(last_message):]
|
||||||
last_message = message
|
last_message = message
|
||||||
|
Loading…
Reference in New Issue
Block a user