diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-10-02 12:20:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 12:20:37 +0200 |
commit | c9e4c9ce00ecc6f28046dabd59df0ae52488685d (patch) | |
tree | 65f82918f749508172a6a1f2b3a1ed58ec020a4b /g4f | |
parent | ~ | Merge pull request #962 from hlohaus/nnn (diff) | |
parent | fix typo in payload (diff) | |
download | gpt4free-c9e4c9ce00ecc6f28046dabd59df0ae52488685d.tar gpt4free-c9e4c9ce00ecc6f28046dabd59df0ae52488685d.tar.gz gpt4free-c9e4c9ce00ecc6f28046dabd59df0ae52488685d.tar.bz2 gpt4free-c9e4c9ce00ecc6f28046dabd59df0ae52488685d.tar.lz gpt4free-c9e4c9ce00ecc6f28046dabd59df0ae52488685d.tar.xz gpt4free-c9e4c9ce00ecc6f28046dabd59df0ae52488685d.tar.zst gpt4free-c9e4c9ce00ecc6f28046dabd59df0ae52488685d.zip |
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/Provider/DeepAi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g4f/Provider/DeepAi.py b/g4f/Provider/DeepAi.py index a19e4b51..80126d20 100644 --- a/g4f/Provider/DeepAi.py +++ b/g4f/Provider/DeepAi.py @@ -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, @@ -60,4 +60,4 @@ f = function () { response.raise_for_status() async for stream in response.content.iter_any(): if stream: - yield stream.decode()
\ No newline at end of file + yield stream.decode() |