summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-04-06 23:45:15 +0200
committerGitHub <noreply@github.com>2024-04-06 23:45:15 +0200
commit68089ff0a90d2f1b5c52cfa050ceb440bb9d8825 (patch)
treee232adbf4575235012a9021d32c0dc46642351de /g4f/Provider
parentUpdate ChatgptFree.py (diff)
downloadgpt4free-68089ff0a90d2f1b5c52cfa050ceb440bb9d8825.tar
gpt4free-68089ff0a90d2f1b5c52cfa050ceb440bb9d8825.tar.gz
gpt4free-68089ff0a90d2f1b5c52cfa050ceb440bb9d8825.tar.bz2
gpt4free-68089ff0a90d2f1b5c52cfa050ceb440bb9d8825.tar.lz
gpt4free-68089ff0a90d2f1b5c52cfa050ceb440bb9d8825.tar.xz
gpt4free-68089ff0a90d2f1b5c52cfa050ceb440bb9d8825.tar.zst
gpt4free-68089ff0a90d2f1b5c52cfa050ceb440bb9d8825.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/ChatgptFree.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/g4f/Provider/ChatgptFree.py b/g4f/Provider/ChatgptFree.py
index 28c37948..22064f1b 100644
--- a/g4f/Provider/ChatgptFree.py
+++ b/g4f/Provider/ChatgptFree.py
@@ -42,11 +42,11 @@ class ChatgptFree(AsyncProvider):
async with StreamSession(
headers=headers,
cookies=cookies,
- impersonate="chrome107",
- proxies={"https": proxy},
+ impersonate="chrome",
+ proxies={"all": proxy},
timeout=timeout
) as session:
-
+
if not cls._nonce:
async with session.get(f"{cls.url}/") as response: