mirror of https://github.com/xtekky/gpt4free.git
Indicated support of message history in FakeGpt.py
This commit is contained in:
parent
7f6d85f861
commit
aee8d5e628
|
@ -10,6 +10,7 @@ from .helper import format_prompt
|
|||
|
||||
class FakeGpt(AsyncGeneratorProvider):
|
||||
url = "https://chat-shared2.zhile.io"
|
||||
supports_message_history = True
|
||||
supports_gpt_35_turbo = True
|
||||
working = True
|
||||
_access_token = None
|
||||
|
@ -91,4 +92,4 @@ class FakeGpt(AsyncGeneratorProvider):
|
|||
raise RuntimeError("No valid response")
|
||||
|
||||
def random_string(length: int = 10):
|
||||
return ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(length))
|
||||
return ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(length))
|
||||
|
|
Loading…
Reference in New Issue