返回提交历史
Modified
g4f/Provider/DeepAi.py
+1
-0
XFEstudio/gpt4free
feat: add custom header to deepai
ba7d5015
代码差异
1 个文件
+1
-0
@@ -52,6 +52,7 @@ f = function () {
52
52
headers = {
53
53
"api-key": api_key,
54
54
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
55
**kwargs.get("headers", {})
55
56
}
56
57
async with ClientSession(
57
58
headers=headers