From 739513e28822b230db9f22d3b4a108b0a0ac4710 Mon Sep 17 00:00:00 2001 From: ssw Date: Sun, 12 Jul 2026 13:40:22 +0800 Subject: [PATCH] =?UTF-8?q?Round=202=20followup:=20BS-NCPF-400=20commit=20?= =?UTF-8?q?=E6=A0=87=E8=AE=B0=20+=20gitignore=20=E6=B3=A8=E6=84=8F?= =?UTF-8?q?=E4=BA=8B=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - BS-NCPF-400 commit 状态从 '待 commit' 改为 'pushed (f66734d)' - 加 ⚠️ application.yml 在 boot/.gitignore, 团队需手动应用白名单 --- docs/drift/2026-07-12-summary.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/drift/2026-07-12-summary.md b/docs/drift/2026-07-12-summary.md index cf3ebd6..6084bb0 100644 --- a/docs/drift/2026-07-12-summary.md +++ b/docs/drift/2026-07-12-summary.md @@ -79,7 +79,7 @@ - 解构漏 source 导致 ReferenceError 被 catch 吞掉 - 修复: 解构加 source → AI 推理结果正常应用 (BS-新61/63/64) - 验证: 5/5 form 都触发 smartProps 应用, 13 项选配 -6. **BS-NCPF-400 解决** (boot/ 待 commit) +6. **BS-NCPF-400 解决** (boot/ f66734d, pushed) - 根因: jnpf SendAiMessage.aiHttp() (SendAiMessage.java:207-221) 强制发 `Authorization: Bearer` + 缺 `/v1/messages` 后缀 - MiniMax (api.minimaxi.com/anthropic) 是 Anthropic 兼容端点, 要求 `x-api-key` + `anthropic-version` 头 - 解决: 新增 SswLLMProxyController (/api/ssw/ai/openai-proxy) 翻译 OpenAI → Anthropic @@ -88,6 +88,7 @@ - 返回 OpenAI 格式给 NCPF - base_ai.baseUrl 改 `http://nginx/api/ssw/ai/openai-proxy` - application.yml 白名单 + `/api/ssw/ai/openai-proxy` (bypass AuthFilter) + - ⚠️ application.yml 在 boot/.gitignore (resources/ 排除), 团队需手动应用白名单配置 - 验证: NCPF 返回 `code=200, data.enCode=ncpfRepairTest, fullName=NCPF修复测试, aiModelList=[2 fields]` ✓ ## Loop commit @@ -98,7 +99,7 @@ - `fix(form): smartProps 解构加 source, 修 'source is not defined' 警告` (dacli/ 1eadac2, pushed) - `Round 2 rerun: form drift 测试更新到 20 份 (含 smartProps 修复后对比)` (dacli/ e0a130c, pushed) - `fix(BS-drift-1): columnList 命名规范适配 baseline (--column-naming)` (dacli/ a2a0efa, pushed) -- `fix(BS-NCPF-400): SSW OpenAI proxy 解决 NCPF 400 System abnormality` (boot/ 待 commit) +- `fix(BS-NCPF-400): SSW OpenAI proxy 解决 NCPF 400 System abnormality` (boot/ f66734d, pushed) ## 下轮目标 (Round 3)