summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorGiancarlo-Ma <65126107+Giancarlo-Ma@users.noreply.github.com>2023-10-02 15:47:21 +0200
committerGitHub <noreply@github.com>2023-10-02 15:47:21 +0200
commitba7d5015dcad5c88c07fee88c74aef09d1894a04 (patch)
treeffe805842ccf5f0194e355f887aaf86ed8df0af7 /g4f
parent~ | g4f v-0.1.4.4 (diff)
downloadgpt4free-ba7d5015dcad5c88c07fee88c74aef09d1894a04.tar
gpt4free-ba7d5015dcad5c88c07fee88c74aef09d1894a04.tar.gz
gpt4free-ba7d5015dcad5c88c07fee88c74aef09d1894a04.tar.bz2
gpt4free-ba7d5015dcad5c88c07fee88c74aef09d1894a04.tar.lz
gpt4free-ba7d5015dcad5c88c07fee88c74aef09d1894a04.tar.xz
gpt4free-ba7d5015dcad5c88c07fee88c74aef09d1894a04.tar.zst
gpt4free-ba7d5015dcad5c88c07fee88c74aef09d1894a04.zip
Diffstat (limited to 'g4f')
-rw-r--r--g4f/Provider/DeepAi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/g4f/Provider/DeepAi.py b/g4f/Provider/DeepAi.py
index 80126d20..f08f17bb 100644
--- a/g4f/Provider/DeepAi.py
+++ b/g4f/Provider/DeepAi.py
@@ -52,6 +52,7 @@ f = function () {
headers = {
"api-key": api_key,
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
+ **kwargs.get("headers", {})
}
async with ClientSession(
headers=headers