落地并存测服全端:智能体 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,30 @@
"""
意图:成交 / 未成交(骨架)。
正式:调主账闭环 API,带幂等键;图成功 ≠ 主账成功。
"""
from __future__ import annotations
import logging
logger = logging.getLogger(__name__)
def handle_close_deal(
*,
sender_id: str,
inquiry_no: str,
outcome: str,
) -> None:
"""
outcome:won | lost 等;骨架不写主账。
"""
if not sender_id or not inquiry_no:
return
logger.info(
"handler.close_deal stub sender=%s inquiry=%s outcome=%s",
sender_id,
inquiry_no,
outcome,
)