From 3485e357acfa93bbfafc24abe537557b0213aa66 Mon Sep 17 00:00:00 2001 From: st4rted <145851858+st4rted@users.noreply.github.com> Date: Sun, 1 Oct 2023 19:55:27 -0400 Subject: fix typo in payload --- g4f/Provider/DeepAi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'g4f/Provider/DeepAi.py') 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() -- cgit v1.2.3