Spaces:
Runtime error
Runtime error
Greg Thompson
commited on
Commit
·
0258bbd
1
Parent(s):
f82d7ac
Fix typo with state key name
Browse files
mathtext_fastapi/v2_conversation_manager.py
CHANGED
@@ -249,7 +249,7 @@ def manage_conversation_response(data_json):
|
|
249 |
"contact_id": whatsapp_id,
|
250 |
"contact_uuid": context_data['contact_uuid'],
|
251 |
"current_state": next_state,
|
252 |
-
"
|
253 |
"bot_message": microlesson_content['input_prompt'],
|
254 |
"user_message": user_message,
|
255 |
"type": 'ask'
|
|
|
249 |
"contact_id": whatsapp_id,
|
250 |
"contact_uuid": context_data['contact_uuid'],
|
251 |
"current_state": next_state,
|
252 |
+
"local_state": microlesson_content['state'],
|
253 |
"bot_message": microlesson_content['input_prompt'],
|
254 |
"user_message": user_message,
|
255 |
"type": 'ask'
|