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

XFEstudio/gpt4free

Update gpt4free/aiassist/__init__.py

Added: request.encoding = request.apparent_encoding

75a52d68
enganese (aka Ulxn) <69082498+enganese@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -0
Modified gpt4free/aiassist/__init__.py +1 -0
@@ -21,6 +21,7 @@ class Completion:
21 21
22 22 url = "http://43.153.7.56:8080/api/chat-process"
23 23 request = requests.post(url, json=json_data)
24 request.encoding = request.apparent_encoding
24 25 content = request.content
25 26
26 27 response = Completion.__load_json(content)