mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-15 14:51:19 -08:00
fix(g4f/gpt4free/g4f/Provider/Blackbox.py), (session): Update API request data structure
This commit is contained in:
parent
17a0fd78d3
commit
ebd8bb44a9
1 changed files with 3 additions and 1 deletions
|
|
@ -286,7 +286,9 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin):
|
|||
"vscodeClient": False,
|
||||
"codeInterpreterMode": False,
|
||||
"customProfile": {"name": "", "occupation": "", "traits": [], "additionalInfo": "", "enableNewChats": False},
|
||||
"session": {"user":{"name":"John Doe","email":"john.doe@gmail.com","image":"https://lh3.googleusercontent.com/a/ACg8ocK9X7mNpQ2vR4jH3tY8wL5nB1xM6fDS9JW2kLpTn4Vy3hR2xN4m=s96-c","subscriptionStatus":"PREMIUM"},"expires":datetime.now(timezone.utc).isoformat(timespec='milliseconds').replace('+00:00', 'Z')},
|
||||
"session": {"user":{"name":"John Doe","email":"john.doe@gmail.com","image":"https://lh3.googleusercontent.com/a/ACg8ocK9X7mNpQ2vR4jH3tY8wL5nB1xM6fDS9JW2kLpTn4Vy3hR2xN4m=s96-c"},"expires":datetime.now(timezone.utc).isoformat(timespec='milliseconds').replace('+00:00', 'Z')},
|
||||
"isPremium": True,
|
||||
"subscriptionCache": None,
|
||||
"webSearchMode": False
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue