返回提交历史
Modified
g4f/Provider/Blackbox.py
+3
-1
XFEstudio/gpt4free
fix(g4f/gpt4free/g4f/Provider/Blackbox.py), (session): Update API request data structure
ebd8bb44
代码差异
1 个文件
+3
-1
@@ -286,7 +286,9 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin):
286
286
"vscodeClient": False,
287
287
"codeInterpreterMode": False,
288
288
"customProfile": {"name": "", "occupation": "", "traits": [], "additionalInfo": "", "enableNewChats": False},
289
"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')},
289
"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')},
290
"isPremium": True,
291
"subscriptionCache": None,
290
292
"webSearchMode": False
291
293
}
292
294