Update shell.py

Add some logic to send hint info to the manager with multiple times