HF RL Explorer

AttributeError crash if shortcut cmd is undefined

AttributeError crash if shortcut cmd is undefined: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). If one tries to create a shortcut with an empty cmd it fails with the message AttributeError: 'NoneType' object has no attribute 'split'. cmd = shutil.which("my-script") not in…

The task

If one tries to create a shortcut with an empty cmd it fails with the message AttributeError: 'NoneType' object has no attribute 'split'. cmd = shutil.which("my-script") # not in PATH, so returns nothing scut = make_shortcut(cmd, name="My Script", icon=iconpath) It could be…

Part of XiaomiMiMo/MiMo-V2.6-RL-oss.