mirror of https://github.com/xtekky/gpt4free.git
Indicated support of message history in You.py
This commit is contained in:
parent
aee8d5e628
commit
c839597c6d
|
@ -10,6 +10,7 @@ from .base_provider import AsyncGeneratorProvider, format_prompt
|
|||
class You(AsyncGeneratorProvider):
|
||||
url = "https://you.com"
|
||||
working = True
|
||||
supports_message_history = True
|
||||
supports_gpt_35_turbo = True
|
||||
|
||||
|
||||
|
@ -37,4 +38,4 @@ class You(AsyncGeneratorProvider):
|
|||
start = b'data: {"youChatToken": '
|
||||
async for line in response.iter_lines():
|
||||
if line.startswith(start):
|
||||
yield json.loads(line[len(start):-1])
|
||||
yield json.loads(line[len(start):-1])
|
||||
|
|
Loading…
Reference in New Issue