From 983345a1e2ffae218275b479b06864507f8fb902 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 5 Sep 2026 21:51:39 +0800 Subject: [PATCH] =?UTF-8?q?docs(skill):=20=E4=BA=A4=E4=BA=92=E5=8E=9F?= =?UTF-8?q?=E5=88=99=E5=90=8C=E6=AD=A5=E2=80=94=E2=80=94=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=93=BE=E4=B8=8D=E9=80=90=E6=AD=A5=E9=AA=A4=E6=89=BE=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=A1=AE=E8=AE=A4,=E7=BC=BA=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=89=8D=E9=97=AE,=E4=B8=80=E5=8F=A3=E6=B0=94=E5=81=9A?= =?UTF-8?q?=E5=AE=8C=E7=BB=99=E6=B5=8B=E8=AF=95=E7=BB=93=E6=9E=9C(model-au?= =?UTF-8?q?to-config+auto-api-pricing-config)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform_general/common/auto-api-pricing-config/SKILL.md | 2 +- .../platform_general/common/model-auto-config/SKILL.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/skills_library/pipelines/platform_general/common/auto-api-pricing-config/SKILL.md b/skills_library/pipelines/platform_general/common/auto-api-pricing-config/SKILL.md index d1c7d07..c7f5d32 100644 --- a/skills_library/pipelines/platform_general/common/auto-api-pricing-config/SKILL.md +++ b/skills_library/pipelines/platform_general/common/auto-api-pricing-config/SKILL.md @@ -32,7 +32,7 @@ tools: [fetch_model_doc, extract_llm_api_spec, apply_llm_config, apply_model_pri - async 接口:chunk_match 填任务 id 字段名(如 `task_id`),response 模板必须输出 `taskid`+`status` - 异步接口通常需要配对的**状态查询接口**(`{name}status`,GET,响应输出最终产物 + usage) 4. **报价配置**:按「定价生成规则」生成 pricing_program_timing YAML(见 references/pricing-patterns.md) -5. 把生成结果摘要(端点/鉴权方式/每模型定价)给用户确认后再落库 +5. 直接落库,不找用户确认(交互原则:只有缺失信息需用户补充时才交互;否则一口气做完给测试结果,用户发现问题再按说明修改) 6. 落库后用 `platform_llm_status` / CRUD 查询复核,回报结果 ## uapi 模板语法约定(Jinja2) 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 0fcef5c..164bcab 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 @@ -21,7 +21,8 @@ tools: [fetch_model_doc, extract_llm_api_spec, apply_llm_config, apply_model_pri - `models[].sync_mode`:提交后需轮询的填 async - `pricing.items[]`:每条带 factor/unit_price/unit/dimensions/doc_quote(文档原文定价句) - `doc_url`:照抄 [出处URL] 行 -3. **确认**:把端点、协议、每个模型的能力/定价原文/出处摘要给用户确认后再落库。 +3. **不找用户确认,直接落库**(交互原则:只有缺失信息需要用户补充时才交互, + 如 api_key、需新增能力分类;否则一口气做完给测试结果,用户发现问题再按说明修改)。 4. **落库**:`apply_llm_config` 传 **{"use_last_extract": true}**——取本会话锚定规格。 用户要求改名等只加 overrides 白名单覆盖项(如 {"overrides":{"vendor_name":"阿里云百炼"}})。 **绝对禁止把规格 JSON 复制/转述进 spec 参数——转述必编造结构(见方法论·防编造)。**