返回提交历史
Modified
g4f/Provider/Yqcloud.py
+1
-0
XFEstudio/gpt4free
Update Yqcloud.py
# specify the correct encoding forcibly
6da550f6
代码差异
1 个文件
+1
-0
@@ -22,6 +22,7 @@ class Yqcloud(BaseProvider):
22
22
url = "https://api.aichatos.cloud/api/generateStream"
23
23
response = requests.post(url=url, headers=headers, json=payload)
24
24
response.raise_for_status()
25
response.encoding = 'utf-8'
25
26
yield response.text
26
27
27
28