Greg Thompson commited on
Commit
a0fb1a2
1 Parent(s): 2fdfe45

Fix bug with state label

Browse files
mathtext_fastapi/v2_conversation_manager.py CHANGED
@@ -256,7 +256,7 @@ def manage_conversation_response(data_json):
256
  "context": {
257
  "contact_id": whatsapp_id,
258
  "contact_uuid": context_data['contact_uuid'],
259
- "state": microlesson_content['state'],
260
  "bot_message": microlesson_content['input_prompt'],
261
  "user_message": user_message,
262
  "type": 'ask'
 
256
  "context": {
257
  "contact_id": whatsapp_id,
258
  "contact_uuid": context_data['contact_uuid'],
259
+ "current_state": microlesson_content['state'],
260
  "bot_message": microlesson_content['input_prompt'],
261
  "user_message": user_message,
262
  "type": 'ask'