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

24 lines
590 B
Python

"""
节点:查价 / TMS 结果编排(骨架)。
正式:经主账查价;分类结果给人选择。禁止在本节点直连 TMS。
"""
from __future__ import annotations
import logging
from typing import Any
from agent.graph.state import InquiryGraphState
logger = logging.getLogger(__name__)
def node_query_quote(state: InquiryGraphState) -> dict[str, Any]:
"""骨架:仅标记 phase=query_quote。"""
logger.info(
"graph.node query_quote thread_id=%s(骨架无查价)",
state.get("thread_id") or "",
)
return {"phase": "query_quote"}