<@U090ER7JPHA> When running headless mode (openhan...
# slackbot-chatter
m
@nutritious-balloon-65098 When running headless mode (openhands/core/main.py), we save trajectory (if enabled) at the end of
run_controller
function. However, if the application gets killed by ctrl+c signal, nothing would be saved. We need a signal handler that treats the first SIGINT as a soft kill and graceful shutdown (i.e. dumping trajectory first), and a second SIGINT as a hard kill and shut down immediately.
n
I'm on it! can track my progress here.