summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/Provider/You.py2
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