Spaces:
Runtime error
Runtime error
Greg Thompson commited on
Commit ·
01dbf28
1
Parent(s): 6bfb72c
Update initial welcome state conditions
Browse files77 unmodified lines7879808182838477 unmodified lineswhatsapp_id = message_data['message']['_vnd']['v1']['chat']['owner'].replace("+","")user_message = message_data['message']['text']['body']if user_message == '':message_package = {'messages': [],'input_prompt': "Welcome to our math practice. What would you like to try? Type add or subtract.",77 unmodified lines7879808182838477 unmodified lineswhatsapp_id = message_data['message']['_vnd']['v1']['chat']['owner'].replace("+","")user_message = message_data['message']['text']['body']if user_message == '' and context_data['state'] == 'start-conversation':message_package = {'messages': [],'input_prompt': "Welcome to our math practice. What would you like to try? Type add or subtract.",
mathtext_fastapi/conversation_manager.py+1-1