Update You.py (#1794)

fixed issue: https://github.com/xtekky/gpt4free/issues/1746
This commit is contained in:
AksLolCoding 2024-04-07 05:28:31 -04:00 committed by GitHub
parent d327afc606
commit a5f7eeb63a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -183,6 +183,7 @@ class You(AsyncGeneratorProvider, ProviderModelMixin):
"dfp_telemetry_id": await get_dfp_telemetry_id(),
"email": f"{user_uuid}@gmail.com",
"password": f"{user_uuid}#{user_uuid}",
"dfp_telemetry_id": f"{uuid.uuid4()}",
"session_duration_minutes": 129600
}
) as response:
@ -193,4 +194,4 @@ class You(AsyncGeneratorProvider, ProviderModelMixin):
'stytch_session_jwt': session["session_jwt"],
'ydc_stytch_session': session["session_token"],
'ydc_stytch_session_jwt': session["session_jwt"],
}
}