Files
inquiry_robot/inquiry-agent/agent/graph/nodes/close_deal.py
T

24 lines
559 B
Python

"""
节点:成交 / 未成交收尾(骨架)。
正式:调主账闭环;图结束 ≠ 主账已成交。
"""
from __future__ import annotations
import logging
from typing import Any
from agent.graph.state import InquiryGraphState
logger = logging.getLogger(__name__)
def node_close_deal(state: InquiryGraphState) -> dict[str, Any]:
"""骨架:仅标记 phase=close_deal。"""
logger.info(
"graph.node close_deal thread_id=%s(骨架无闭环)",
state.get("thread_id") or "",
)
return {"phase": "close_deal"}