@hmharness/cli 0.18.10 → 0.18.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +8 -3
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -1079,7 +1079,11 @@ flags:
|
|
|
1079
1079
|
}
|
|
1080
1080
|
if (submit) {
|
|
1081
1081
|
const localJobs = await CF.readLocalFineTuneJobs(home);
|
|
1082
|
-
|
|
1082
|
+
// cooldown counts real SUBMISSIONS only - a 'staged' row means the last
|
|
1083
|
+
// attempt FAILED before creating a job (files parked, nothing trained),
|
|
1084
|
+
// so it must not block the retry that finally lands (2026-09-27)
|
|
1085
|
+
const lastSubmit = [...localJobs].reverse().find((j) => String(j.status) !== 'staged');
|
|
1086
|
+
const lastAt = lastSubmit ? new Date(lastSubmit.time).getTime() : 0;
|
|
1083
1087
|
const dueMs = cooldownDays * 86400000;
|
|
1084
1088
|
if (Date.now() - lastAt < dueMs) {
|
|
1085
1089
|
stdout.write(DIM(`冷却中(上次提交 ${cooldownDays} 天内)——本次跳过\n`));
|
|
@@ -1189,8 +1193,9 @@ flags:
|
|
|
1189
1193
|
await CF.recordFineTuneJob(home, { id: 'staged-' + stamp, status: 'staged', model }, { trainFile: upTrain.id, evalFile: upEval?.id, pairs: rows.length, error: msg.slice(0, 200) });
|
|
1190
1194
|
stdout.write(RED('任务创建失败:' + msg.slice(0, 160) + '\n'));
|
|
1191
1195
|
if (/参数校验解析异常/.test(msg)) {
|
|
1192
|
-
stdout.write(YELLOW('
|
|
1193
|
-
stdout.write(
|
|
1196
|
+
stdout.write(YELLOW('最常见原因(2026-09-27 实测确认):微调走开放平台按量付费通道,与 GLM Coding Plan 编码套餐互不通用——') + '\n');
|
|
1197
|
+
stdout.write(YELLOW('编码套餐余额再足,开放平台账户没有充值/余额为 0 时,建任务就会在计费环节报这个 500。') + '\n');
|
|
1198
|
+
stdout.write(DIM('解决:到 bigmodel.cn 控制台「财务/账户中心」给开放平台账户充值(glm-4-flash LoRA 约 0.025 元/千 tokens,4000 对×3 轮约 200-250 元),再重跑本命令。已上传文件无需重传。') + '\n');
|
|
1194
1199
|
}
|
|
1195
1200
|
else {
|
|
1196
1201
|
stdout.write(DIM('上传的文件保留在云端可复用:' + upTrain.id + '\n'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmharness/cli",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.12",
|
|
4
4
|
"description": "hmharness command line: one-shot tasks, an interactive REPL, a fullscreen TUI, the web frontend, and direct tool invocation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@hmharness/evolution": "*",
|
|
49
49
|
"@hmharness/domain-harmony": "*",
|
|
50
50
|
"@hmharness/domain-ops": "*",
|
|
51
|
-
"@hmharness/agent": "0.14.
|
|
51
|
+
"@hmharness/agent": "0.14.24",
|
|
52
52
|
"@hmharness/evaluation": "*",
|
|
53
53
|
"@hmharness/web": "*",
|
|
54
54
|
"@hmharness/sandbox": "*"
|