cutesparrow

Results 2 issues of cutesparrow

I tried create an reload command by calling importlib.reload() method but that doesn't work. Does this framework support autoreload after modifying modules? Or we should restart it manully?

enhancement

system字段会拼接到后台执行的命令,并且用双引号包括,不能正确转义 $ {} - 等特殊字符,存在命令注入。 比如在system字段输入: `$(touch /tmp/hack.txt)` 点击 `开始训练` 按钮后,`touch /tmp/hack.txt`这条命令会在后台执行。 除了安全风险之外,实际使用中如果system字段包含特殊字符,还会导致训练任务启动失败或者传入参数不符合预期。 请考虑将system字段拼接入 LLM 训练启动命令之前 转义或用单引号包括防止命令注入和运行错误。 The “system” field is concatenated to the command executed in the background and...