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

XFEstudio/gpt4free

Fix You.com Provider

57c856ef
Heiner Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +3 -1
Modified g4f/Provider/You.py +3 -1
@@ -164,7 +164,9 @@ class You(AsyncGeneratorProvider, ProviderModelMixin):
164 164 headers={
165 165 "Authorization": cls.get_auth(),
166 166 "X-SDK-Client": cls.get_sdk(),
167 "X-SDK-Parent-Host": cls.url
167 "X-SDK-Parent-Host": cls.url,
168 "Origin": "https://you.com",
169 "Referer": "https://you.com/"
168 170 },
169 171 json={
170 172 "dfp_telemetry_id": await get_dfp_telemetry_id(),