mirror of https://github.com/xtekky/gpt4free.git
Update You.py
This commit is contained in:
parent
536e85936e
commit
b29b541f9f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue