Skip to content

Commit b29b541

Browse files
authored
Update You.py
1 parent 536e859 commit b29b541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

g4f/Provider/You.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def create_async_generator(
6767
chat_mode = "custom"
6868
model = cls.get_model(model)
6969
async with StreamSession(
70-
proxy=proxy,
70+
proxies={"all": proxy},
7171
impersonate="chrome"
7272
) as session:
7373
cookies = await cls.get_cookies(session) if chat_mode != "default" else None

0 commit comments

Comments
 (0)