XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

Update You.py (#1794)

fixed issue: https://github.com/xtekky/gpt4free/issues/1746

a5f7eeb6
AksLolCoding <95454315+AksLolCoding@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -1
Modified g4f/Provider/You.py +2 -1
@@ -183,6 +183,7 @@ class You(AsyncGeneratorProvider, ProviderModelMixin):
183 183 "dfp_telemetry_id": await get_dfp_telemetry_id(),
184 184 "email": f"{user_uuid}@gmail.com",
185 185 "password": f"{user_uuid}#{user_uuid}",
186 "dfp_telemetry_id": f"{uuid.uuid4()}",
186 187 "session_duration_minutes": 129600
187 188 }
188 189 ) as response:
@@ -193,4 +194,4 @@ class You(AsyncGeneratorProvider, ProviderModelMixin):
193 194 'stytch_session_jwt': session["session_jwt"],
194 195 'ydc_stytch_session': session["session_token"],
195 196 'ydc_stytch_session_jwt': session["session_jwt"],
196 }
197 }