落地并存测服全端:智能体 Graph/路由、后台切 8180、主账与部署脚本齐备,便于线上重发与验收。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-09-13 21:15:58 +08:00
co-authored by Cursor
parent 0eb1adecc8
commit 8103b3b651
143 changed files with 8968 additions and 277 deletions
@@ -0,0 +1,26 @@
"""
意图:新开询价(骨架)。
正式:校验字段合同 → 主账建单准备 → Graph start_thread。
本文件不调模型、不写六态。
"""
from __future__ import annotations
import logging
from agent.channel.wecom.models import InboundMessage
logger = logging.getLogger(__name__)
def handle_new_inquiry(message: InboundMessage) -> None:
"""骨架:仅记日志。须已有 sender_id。"""
if not message.has_sender():
logger.warning("new_inquiry 拒绝:无 sender_id")
return
logger.info(
"handler.new_inquiry stub sender=%s msg_id=%s",
message.sender_id,
message.message_id,
)