diff options
author | st4rted <145851858+st4rted@users.noreply.github.com> | 2023-10-02 01:55:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 01:55:27 +0200 |
commit | 3485e357acfa93bbfafc24abe537557b0213aa66 (patch) | |
tree | b61a4146d428c45cb3f93084252c5a62003758a8 | |
parent | ~ | v-0.1.4.2 `pip install -U g4f` (diff) | |
download | gpt4free-3485e357acfa93bbfafc24abe537557b0213aa66.tar gpt4free-3485e357acfa93bbfafc24abe537557b0213aa66.tar.gz gpt4free-3485e357acfa93bbfafc24abe537557b0213aa66.tar.bz2 gpt4free-3485e357acfa93bbfafc24abe537557b0213aa66.tar.lz gpt4free-3485e357acfa93bbfafc24abe537557b0213aa66.tar.xz gpt4free-3485e357acfa93bbfafc24abe537557b0213aa66.tar.zst gpt4free-3485e357acfa93bbfafc24abe537557b0213aa66.zip |
Diffstat (limited to '')
-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() |