From bb2b7b40949c52161820459cdd4bedf0eceb99a1 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 5 Sep 2026 20:37:16 +0800 Subject: [PATCH] =?UTF-8?q?docs(skill):=20apply=5Fmodel=5Fpricing=E5=B9=82?= =?UTF-8?q?=E7=AD=89=E8=A7=84=E5=88=99=E2=80=94=E2=80=94=E4=B8=80ppid?= =?UTF-8?q?=E6=97=B6=E5=BA=8F=E5=8F=AA=E4=B8=80=E6=9D=A1=E6=9C=89=E6=95=88?= =?UTF-8?q?=E8=A1=8C(=E6=97=A0=E5=8F=98=E5=8C=96=E8=B7=B3=E8=BF=87/?= =?UTF-8?q?=E5=90=8C=E6=97=A5=E5=8E=9F=E5=9C=B0=E6=9B=B4=E6=96=B0/?= =?UTF-8?q?=E4=BB=85=E5=8E=86=E5=8F=B2=E8=A1=8C=E6=8B=89=E9=93=BE),?= =?UTF-8?q?=E7=A6=81=E9=87=8D=E5=A4=8D=E5=A0=86=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform_general/common/model-auto-config/SKILL.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/skills_library/pipelines/platform_general/common/model-auto-config/SKILL.md b/skills_library/pipelines/platform_general/common/model-auto-config/SKILL.md index 8324294..d3bc590 100644 --- a/skills_library/pipelines/platform_general/common/model-auto-config/SKILL.md +++ b/skills_library/pipelines/platform_general/common/model-auto-config/SKILL.md @@ -62,7 +62,10 @@ llm_model 的 price_input/price_output/cost_input/cost_output 四字段已删除 4. 价格/单位照文档原文记录禁止换算(详见定价数据格式技能);每条价格必须有 doc_quote(文档原文定价句),缺则 apply_model_pricing 拒绝落库。 -内部助手工具 `apply_model_pricing` 自动执行以上全部(幂等:已有 ppid 拉链更新时序)。 +内部助手工具 `apply_model_pricing` 自动执行以上全部。幂等规则(2026-09-05 用户纠正): +**一个 ppid 的时序表只应有一条有效行**——内容无变化直接跳过(不产生新行); +内容有变且当前行今天启用 → 原地更新(同日替换不留零宽死行);当前行是历史 +日期 → 才拉链(关旧行+插新行)。重复执行禁止堆历史行。 **记账三态(2026-09-05)**:llm_usage.accounting_status = created(待记账)→ accounted(成功)/ failed(失败)。出账前置:模型有产品映射(product.resource_ref_id)