@hmharness/cli 0.18.12 → 0.18.13

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.
Files changed (2) hide show
  1. package/dist/main.js +13 -7
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1186,16 +1186,22 @@ flags:
1186
1186
  catch (err) {
1187
1187
  const msg = String(err);
1188
1188
  // live finding 2026-09-26: some accounts pass model validation for
1189
- // glm-4-flash/glm-4.5-air but the job-creation path 500s server-side -
1190
- // the entitlement is half-open (glm-5.3 answers the clean
1191
- // "联系客服开放" variant). The uploaded files stay valid, so record
1192
- // them: a retry after the entitlement opens must NOT re-upload 2.7M tokens.
1189
+ // glm-4-flash/glm-4.5-air but the job-creation path 500s server-side.
1190
+ // 2026-09-27 verdict: this persists after topping up - the API job
1191
+ // channel is effectively unusable; the web console is the only working
1192
+ // path (and console datasets do NOT see API-uploaded files - two
1193
+ // separate systems). The uploaded files stay valid, so record
1194
+ // them: a retry if the API channel ever opens must NOT re-upload.
1193
1195
  await CF.recordFineTuneJob(home, { id: 'staged-' + stamp, status: 'staged', model }, { trainFile: upTrain.id, evalFile: upEval?.id, pairs: rows.length, error: msg.slice(0, 200) });
1194
1196
  stdout.write(RED('任务创建失败:' + msg.slice(0, 160) + '\n'));
1195
1197
  if (/参数校验解析异常/.test(msg)) {
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');
1198
+ // 2026-09-27 实测定案:充值后该 500 依旧——智谱 API 建任务通道对
1199
+ // 微调实际不可用,且 API 上传的文件与控制台数据集是两套互不相通
1200
+ // 的体系。控制台网页(console/data-mgt + modelft/finetuning/create)
1201
+ // 是已验证可行的唯一通道;DPO 全参单价 0.04 元/千 tokens。
1202
+ stdout.write(YELLOW('实测结论(2026-09-27):该 API 通道建任务持续 500,充值无法解决;') + '\n');
1203
+ stdout.write(YELLOW('控制台网页是唯一可行通道,且 API 上传的文件不会出现在控制台数据集列表里(两套体系)。') + '\n');
1204
+ stdout.write(DIM('解决:到 bigmodel.cn 控制台「数据管理/微调数据」上传 JSONL 创建数据集,再到「模型微调」创建任务(DPO 全参 0.04 元/千 tokens)。命令行侧数据已备好,可直接联系维护者代操作。') + '\n');
1199
1205
  }
1200
1206
  else {
1201
1207
  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.12",
3
+ "version": "0.18.13",
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",