diff options
author | zukixa <56563509+zukixa@users.noreply.github.com> | 2024-08-13 15:26:17 +0200 |
---|---|---|
committer | zukixa <56563509+zukixa@users.noreply.github.com> | 2024-08-13 15:26:17 +0200 |
commit | 08d1c0531007e1d21e92c8fb6dfec5a2cde9b1b4 (patch) | |
tree | 6849b1aff21d95487d01f439460aa5e891728dab /g4f/Provider/MagickPenAsk.py | |
parent | Merge pull request #2135 from repsac-by/update-perplexity-labs (diff) | |
download | gpt4free-08d1c0531007e1d21e92c8fb6dfec5a2cde9b1b4.tar gpt4free-08d1c0531007e1d21e92c8fb6dfec5a2cde9b1b4.tar.gz gpt4free-08d1c0531007e1d21e92c8fb6dfec5a2cde9b1b4.tar.bz2 gpt4free-08d1c0531007e1d21e92c8fb6dfec5a2cde9b1b4.tar.lz gpt4free-08d1c0531007e1d21e92c8fb6dfec5a2cde9b1b4.tar.xz gpt4free-08d1c0531007e1d21e92c8fb6dfec5a2cde9b1b4.tar.zst gpt4free-08d1c0531007e1d21e92c8fb6dfec5a2cde9b1b4.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/MagickPenAsk.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/MagickPenAsk.py b/g4f/Provider/MagickPenAsk.py index 54058228..8b7473d8 100644 --- a/g4f/Provider/MagickPenAsk.py +++ b/g4f/Provider/MagickPenAsk.py @@ -36,7 +36,8 @@ class MagickPenAsk(AsyncGeneratorProvider, ProviderModelMixin): "sec-fetch-dest": "empty", "sec-fetch-mode": "cors", "sec-fetch-site": "same-site", - "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" + "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36", + 'X-API-Secret': 'WCASR6ZQJYM85DVDX7' } async with ClientSession(headers=headers) as session: data = { |