转人工协同按运输方式各自落地:海运说转人工直接建正式单建群发摘要和空白表,陆运先选业务类型和报价场景再建群,空运先落正式单让销售把工单号发进原群,转人工后群里报价不再被当成冻结单拦住。产品报价只发摘要和成交卡,要 Excel/PDF 说「生成报价单」再出,多段逐段出、没价出空白表,出表后补推成交跟进不涨版本、不重置等待计时。结束询价口令不再进模型,直接清上下文。卡片回执按本次入站消息号去重,第二次点提交不会再被静默吞掉。陆转人工按选定模板名直取,避免陆运七种业务靠关键词猜错;空运舱位只回一条时直接出价,TMS 分桶费用落到对应段。后台工单补需求字段与模板预览样例,新增 AIR_NEED_WO 回复语、协同模式、陆运岗位与陆运超时卡迁移脚本;测服文档改为独立企微应用 1000015。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -93,8 +93,14 @@ class IntentRouter:
|
||||
return RouteDecision(intent="card_action", confidence=1.0)
|
||||
from agent.handlers.text_inquiry import is_land_confirm_action
|
||||
from agent.channel.wecom.models import InboundMessage
|
||||
from agent.policy import inquiry_copy as copy
|
||||
from agent.schema.land_options import looks_like_confirm
|
||||
|
||||
# 结束/终止询价是产品短指令:不进模型,避免被当成补字段或闲聊。
|
||||
if copy.looks_like_end_inquiry(text or ""):
|
||||
logger.info("route 结束询价口令:跳过模型 sender=%s", sender_id)
|
||||
return RouteDecision(intent="end_inquiry", confidence=1.0)
|
||||
|
||||
if looks_like_confirm(text or ""):
|
||||
if is_land_confirm_action(
|
||||
InboundMessage(
|
||||
|
||||
Reference in New Issue
Block a user