Spaces:
Runtime error
Runtime error
Greg Thompson
commited on
Commit
·
f82d7ac
1
Parent(s):
332b532
Update conversation manager
Browse files
mathtext_fastapi/v2_conversation_manager.py
CHANGED
@@ -248,7 +248,8 @@ def manage_conversation_response(data_json):
|
|
248 |
"context": {
|
249 |
"contact_id": whatsapp_id,
|
250 |
"contact_uuid": context_data['contact_uuid'],
|
251 |
-
"
|
|
|
252 |
"bot_message": microlesson_content['input_prompt'],
|
253 |
"user_message": user_message,
|
254 |
"type": 'ask'
|
|
|
248 |
"context": {
|
249 |
"contact_id": whatsapp_id,
|
250 |
"contact_uuid": context_data['contact_uuid'],
|
251 |
+
"current_state": next_state,
|
252 |
+
"current_state": microlesson_content['state'],
|
253 |
"bot_message": microlesson_content['input_prompt'],
|
254 |
"user_message": user_message,
|
255 |
"type": 'ask'
|