24 lines
617 B
Python
24 lines
617 B
Python
"""
|
|
节点:协同 / 群报价等待(骨架)。
|
|
|
|
正式:等群内报价或协同结果;用户文字不得冒充文件完成(wake 另走结构化载荷)。
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
import logging
|
|
from typing import Any
|
|
|
|
from agent.graph.state import InquiryGraphState
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
def node_collaborate(state: InquiryGraphState) -> dict[str, Any]:
|
|
"""骨架:仅标记 phase=collaborate。"""
|
|
logger.info(
|
|
"graph.node collaborate thread_id=%s(骨架无协同)",
|
|
state.get("thread_id") or "",
|
|
)
|
|
return {"phase": "collaborate"}
|