fix: Task6质量审查修复(MOQ全称/warranty/装柜量触发词+NO_CONTACT_WEB常量引用+阿语回显豁免锁+测试残词)

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-29 18:22:29 +08:00
parent 9caf3c4501
commit 528b81b192
3 changed files with 20 additions and 7 deletions
+3 -3
View File
@@ -38,7 +38,8 @@ BOUNDARY_TRIGGER_RE = re.compile(
r"price|pricing|how\s+much|\bcost\b|discount|cheaper|expensive|\bfee\b|"
r"quote|quotation|shipping\s+(fee|cost|time)|freight|tariff|customs\s+fee|"
r"best\s+offer|any\s+offer|free\s+shipping|"
r"sample|certificat|\bmoq\b|container\s+loading|"
r"sample|certificat|\bmoq\b|minimum\s+order|min\s+order|"
r"container\s+loading|fit\s+in|per\s+container|warranty|质保|保修|"
r"book(ing)?\s|reserv|arrange|"
r"delivery|lead\s+time|arriv|"
r"how\s+long\s+(does|will|would|to).*(take|arriv|deliver|ship)|"
@@ -591,8 +592,7 @@ class ConversationManager:
"绝对禁止输出任何号码或邮箱。")
else:
contact_note = ("⚠️ 客户正在索要我方联系方式(最高意向信号)。请逐字使用这句指路:"
"\"Just tap the WhatsApp button at the top of this chat — "
"our manager will reply within 12 hours!\"(邮箱同理指 Email 按钮)。"
f"\"{NO_CONTACT_WEB}\"(邮箱同理指 Email 按钮)。"
"绝对禁止口头报出任何号码或邮箱。")
if not raw_info: