Merge pull request #1390 from hlohaus/p38

Support Python 3.8
pull/1406/head
H Lohaus 6 months ago committed by GitHub
commit 1ccdbcb51c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -408,14 +408,14 @@ def create_message(conversation: Conversation, prompt: str, tone: str, context:
'traceId': os.urandom(16).hex(),
'isStartOfSession': True,
'requestId': request_id,
'message': Defaults.location | {
'message': {**Defaults.location, **{
'author': 'user',
'inputMethod': 'Keyboard',
'text': prompt,
'messageType': 'Chat',
'requestId': request_id,
'messageId': request_id,
},
}},
"scenario": "SERP",
'tone': tone,
'spokenTextMode': 'None',

Loading…
Cancel
Save