mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-19 03:25:32 +00:00
fix typo in payload
This commit is contained in:
parent
423485fda6
commit
3485e357ac
@ -47,7 +47,7 @@ f = function () {
|
||||
"tryit-" + h + "-" + f(agent + f(agent + f(agent + h + "x")));
|
||||
"""
|
||||
|
||||
payload = {"chas_style": "chat", "chatHistory": json.dumps(messages)}
|
||||
payload = {"chat_style": "chat", "chatHistory": json.dumps(messages)}
|
||||
api_key = js2py.eval_js(token_js)
|
||||
headers = {
|
||||
"api-key": api_key,
|
||||
|
Loading…
Reference in New Issue
Block a user