Make product-data generation resumable

This commit is contained in:
wuyang6
2026-05-11 20:13:08 +08:00
parent 952eba4b93
commit 4c29ce21f1
4 changed files with 35 additions and 12 deletions
+1 -1
View File
@@ -1602,7 +1602,7 @@ class LocalCodingAgent:
f'原因:{exc.msg};参数片段:{preview!r}'
'请回复“继续”,我会要求模型重新生成合法 JSON 参数;'
'对于 product-data 生成数据,不要用 write_file 写大段 draft'
'应每批最多 8 条,直接用 python_exec 调用 '
'应每批最多 8 条,直接用 python_exec 的 script_path 模式调用 '
'skills/product-data/scripts/normalize_dataset_draft.py'
'通过 stdin 传入小批量 JSON,并把 normalize 结果追加到 '
'scratchpad/normalized_records.jsonl。'