返回提交历史
Modified
g4f/Provider/You.py
+2
-1
XFEstudio/gpt4free
Indicated support of message history in You.py
c839597c
代码差异
1 个文件
+2
-1
@@ -10,6 +10,7 @@ from .base_provider import AsyncGeneratorProvider, format_prompt
10
10
class You(AsyncGeneratorProvider):
11
11
url = "https://you.com"
12
12
working = True
13
supports_message_history = True
13
14
supports_gpt_35_turbo = True
14
15
15
16
@@ -37,4 +38,4 @@ class You(AsyncGeneratorProvider):
37
38
start = b'data: {"youChatToken": '
38
39
async for line in response.iter_lines():
39
40
if line.startswith(start):
40
yield json.loads(line[len(start):-1])
41
yield json.loads(line[len(start):-1])