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

XFEstudio/gpt4free

fix typo in payload

3485e357
st4rted <145851858+st4rted@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -2
Modified g4f/Provider/DeepAi.py +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()