返回提交历史
Modified
g4f/Provider/DeepAi.py
+2
-2
XFEstudio/gpt4free
fix typo in payload
3485e357
代码差异
1 个文件
+2
-2
@@ -47,7 +47,7 @@ f = function () {
47
47
"tryit-" + h + "-" + f(agent + f(agent + f(agent + h + "x")));
48
48
"""
49
49
50
payload = {"chas_style": "chat", "chatHistory": json.dumps(messages)}
50
payload = {"chat_style": "chat", "chatHistory": json.dumps(messages)}
51
51
api_key = js2py.eval_js(token_js)
52
52
headers = {
53
53
"api-key": api_key,
@@ -60,4 +60,4 @@ f = function () {
60
60
response.raise_for_status()
61
61
async for stream in response.content.iter_any():
62
62
if stream:
63
yield stream.decode()
63
yield stream.decode()