mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-23 00:22:09 +03:00
Update You.py (#1794)
fixed issue: https://github.com/xtekky/gpt4free/issues/1746
This commit is contained in:
parent
d327afc606
commit
a5f7eeb63a
@ -183,6 +183,7 @@ class You(AsyncGeneratorProvider, ProviderModelMixin):
|
|||||||
"dfp_telemetry_id": await get_dfp_telemetry_id(),
|
"dfp_telemetry_id": await get_dfp_telemetry_id(),
|
||||||
"email": f"{user_uuid}@gmail.com",
|
"email": f"{user_uuid}@gmail.com",
|
||||||
"password": f"{user_uuid}#{user_uuid}",
|
"password": f"{user_uuid}#{user_uuid}",
|
||||||
|
"dfp_telemetry_id": f"{uuid.uuid4()}",
|
||||||
"session_duration_minutes": 129600
|
"session_duration_minutes": 129600
|
||||||
}
|
}
|
||||||
) as response:
|
) as response:
|
||||||
@ -193,4 +194,4 @@ class You(AsyncGeneratorProvider, ProviderModelMixin):
|
|||||||
'stytch_session_jwt': session["session_jwt"],
|
'stytch_session_jwt': session["session_jwt"],
|
||||||
'ydc_stytch_session': session["session_token"],
|
'ydc_stytch_session': session["session_token"],
|
||||||
'ydc_stytch_session_jwt': session["session_jwt"],
|
'ydc_stytch_session_jwt': session["session_jwt"],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user