diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-10-02 18:56:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 18:56:00 +0200 |
commit | c915050ac77ff45d4b651a9bb5e7c3d9ac7306f4 (patch) | |
tree | eda037b01049744133645e6856bee03f8cd38b4a /g4f | |
parent | Merge pull request #972 from hlohaus/mmm (diff) | |
parent | feat: add custom header to deepai (diff) | |
download | gpt4free-c915050ac77ff45d4b651a9bb5e7c3d9ac7306f4.tar gpt4free-c915050ac77ff45d4b651a9bb5e7c3d9ac7306f4.tar.gz gpt4free-c915050ac77ff45d4b651a9bb5e7c3d9ac7306f4.tar.bz2 gpt4free-c915050ac77ff45d4b651a9bb5e7c3d9ac7306f4.tar.lz gpt4free-c915050ac77ff45d4b651a9bb5e7c3d9ac7306f4.tar.xz gpt4free-c915050ac77ff45d4b651a9bb5e7c3d9ac7306f4.tar.zst gpt4free-c915050ac77ff45d4b651a9bb5e7c3d9ac7306f4.zip |
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/Provider/DeepAi.py | 1 |
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 |