返回提交历史
Modified
g4f/Provider/ChatgptAi.py
+2
-1
XFEstudio/gpt4free
Fix ChatgptAi Provider
4cec1ed9
代码差异
1 个文件
+2
-1
@@ -65,7 +65,8 @@ class ChatgptAi(AsyncGeneratorProvider):
65
65
async with session.post(
66
66
f"{cls.url}/wp-json/mwai-ui/v1/chats/submit",
67
67
proxy=proxy,
68
json=data
68
json=data,
69
headers={"X-Wp-Nonce": cls._system["restNonce"]}
69
70
) as response:
70
71
response.raise_for_status()
71
72
async for line in response.content: