返回提交历史
Modified
g4f/Provider/Bing.py
+2
-2
XFEstudio/gpt4free
Support Python 3.8
f82a60df
代码差异
1 个文件
+2
-2
@@ -408,14 +408,14 @@ def create_message(conversation: Conversation, prompt: str, tone: str, context:
408
408
'traceId': os.urandom(16).hex(),
409
409
'isStartOfSession': True,
410
410
'requestId': request_id,
411
'message': Defaults.location | {
411
'message': {**Defaults.location, **{
412
412
'author': 'user',
413
413
'inputMethod': 'Keyboard',
414
414
'text': prompt,
415
415
'messageType': 'Chat',
416
416
'requestId': request_id,
417
417
'messageId': request_id,
418
},
418
}},
419
419
"scenario": "SERP",
420
420
'tone': tone,
421
421
'spokenTextMode': 'None',