diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-04-07 12:41:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-07 12:41:17 +0200 |
commit | b29b541f9fc9dbb1e64707b96a3f5ab9b19e01f4 (patch) | |
tree | d9a1a5170b4d2dd8f6ab3f6e763464e3405644a9 /g4f | |
parent | Update You.py (diff) | |
download | gpt4free-b29b541f9fc9dbb1e64707b96a3f5ab9b19e01f4.tar gpt4free-b29b541f9fc9dbb1e64707b96a3f5ab9b19e01f4.tar.gz gpt4free-b29b541f9fc9dbb1e64707b96a3f5ab9b19e01f4.tar.bz2 gpt4free-b29b541f9fc9dbb1e64707b96a3f5ab9b19e01f4.tar.lz gpt4free-b29b541f9fc9dbb1e64707b96a3f5ab9b19e01f4.tar.xz gpt4free-b29b541f9fc9dbb1e64707b96a3f5ab9b19e01f4.tar.zst gpt4free-b29b541f9fc9dbb1e64707b96a3f5ab9b19e01f4.zip |
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/Provider/You.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/You.py b/g4f/Provider/You.py index 7ca928d8..11bb9de2 100644 --- a/g4f/Provider/You.py +++ b/g4f/Provider/You.py @@ -67,7 +67,7 @@ class You(AsyncGeneratorProvider, ProviderModelMixin): chat_mode = "custom" model = cls.get_model(model) async with StreamSession( - proxy=proxy, + proxies={"all": proxy}, impersonate="chrome" ) as session: cookies = await cls.get_cookies(session) if chat_mode != "default" else None |