mirror of https://github.com/xtekky/gpt4free.git
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):
|
||||
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
|
||||
last_message = message
|
||||
|
|
Loading…
Reference in New Issue