summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: