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

24 lines
616 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""
节点:报价文件生成等待(骨架)。
正式:等 Worker LibreOffice/对象存储完成后的结构化 wake;本节点不跑 soffice。
"""
from __future__ import annotations
import logging
from typing import Any
from agent.graph.state import InquiryGraphState
logger = logging.getLogger(__name__)
def node_generate_quote(state: InquiryGraphState) -> dict[str, Any]:
"""骨架:仅标记 phase=generate_quote。"""
logger.info(
"graph.node generate_quote thread_id=%s(骨架不转 PDF)",
state.get("thread_id") or "",
)
return {"phase": "generate_quote"}