Spaces:
Runtime error
Runtime error
| from tools.dialog_handler import handle_message | |
| print('--- Payment commitment flow ---') | |
| msg = 'I can pay ¥25000 by 2025-10-10' | |
| out = handle_message(msg) | |
| print('User:', msg) | |
| print('Assistant:', out['response']) | |
| print('Created request:', out['request']) | |
| print('\n--- Request human operator flow ---') | |
| msg2 = 'I want to talk to an operator tomorrow morning' | |
| out2 = handle_message(msg2) | |
| print('User:', msg2) | |
| print('Assistant:', out2['response']) | |