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

XFEstudio/gpt4free

fixes

c29487cd
lobowarren <lobowarren0@gmail.com>
提交于

代码差异

1 个文件 +1 -4
Modified g4f/Provider/Pizzagpt.py +1 -4
@@ -8,7 +8,7 @@ class Pizzagpt(AsyncGeneratorProvider):
8 8 url = "https://www.pizzagpt.it"
9 9 api_endpoint = "/api/chatx-completion"
10 10 supports_message_history = False
11 supports_gpt_35_turbo = False
11 supports_gpt_35_turbo = True
12 12 working = True
13 13
14 14 @classmethod
@@ -29,9 +29,6 @@ class Pizzagpt(AsyncGeneratorProvider):
29 29 "Content-Type": "application/json",
30 30 "Origin": cls.url,
31 31 "Referer": f"{cls.url}/en",
32 "Sec-Ch-Ua": "\"Not/A)Brand\";v=\"8\", \"Chromium\";v=\"126\", \"Google Chrome\";v=\"126\"",
33 "Sec-Ch-Ua-Mobile": "?0",
34 "Sec-Ch-Ua-Platform": "\"Windows\"",
35 32 "Sec-Fetch-Dest": "empty",
36 33 "Sec-Fetch-Mode": "cors",
37 34 "Sec-Fetch-Site": "same-origin",