Spaces:
Build error
Build error
Greg Thompson
commited on
Commit
•
2fdfe45
1
Parent(s):
d357071
Update conditions for data-driven quiz
Browse files
mathtext_fastapi/v2_conversation_manager.py
CHANGED
@@ -121,7 +121,7 @@ def retrieve_microlesson_content(context_data, user_message, microlesson, contac
|
|
121 |
'input_prompt': input_prompt,
|
122 |
'state': state_label
|
123 |
}
|
124 |
-
elif microlesson == 'addition2':
|
125 |
if user_message == 'harder' or user_message == 'easier':
|
126 |
user_message = ''
|
127 |
message_package = num_one.process_user_message(contact_uuid, user_message)
|
|
|
121 |
'input_prompt': input_prompt,
|
122 |
'state': state_label
|
123 |
}
|
124 |
+
elif context_data['local_state'] =='addition2' or microlesson == 'addition2':
|
125 |
if user_message == 'harder' or user_message == 'easier':
|
126 |
user_message = ''
|
127 |
message_package = num_one.process_user_message(contact_uuid, user_message)
|