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)