From b29b541f9fc9dbb1e64707b96a3f5ab9b19e01f4 Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Sun, 7 Apr 2024 12:41:17 +0200 Subject: Update You.py --- g4f/Provider/You.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/Provider/You.py') 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 -- cgit v1.2.3