From e08c0cdff098fc1384a2cee37dbac094eac71ed2 Mon Sep 17 00:00:00 2001 From: kicer Date: Wed, 29 Jul 2026 07:46:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9prompt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/ai/prompt.js | 6 +++--- server/public/index.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/ai/prompt.js b/server/ai/prompt.js index c2a89d9..e4b231a 100644 --- a/server/ai/prompt.js +++ b/server/ai/prompt.js @@ -57,9 +57,9 @@ function buildSystemPrompt(username, isAdmin) { ' * "已收货" — 已收到货物', ' * "已完成" — 发票已收,全部结束', '- 状态映射:', - ' * "付了/已付/付款了" → "已付款"', - ' * "到了/收到货了" → "已收货"', - ' * "发票到/全搞定/完结" → "已完成"', + ' * "付了/已付/付款了/买了/花了"等明确已付款完成意图的 → "已付款"', + ' * "到了/收到货了"等明确已收到货意图的 → "已收货"', + ' * "发票到/全搞定/完结"等明确有发票或结束意图的 → "已完成"', ' * 新建不指定 → "待付款"', '- 只有明确消费意图(购买/采购/下单/付款/买了/花了)才返回 action="purchase"', '- 纯陈述 → action="ignore"', diff --git a/server/public/index.html b/server/public/index.html index 04482ed..dd7cd9b 100644 --- a/server/public/index.html +++ b/server/public/index.html @@ -237,7 +237,7 @@