30 lines
848 B
Python
30 lines
848 B
Python
"""
|
||
LangGraph 编排包:图定义、节点分文件、pause/resume、结构化 wake。
|
||
|
||
本包职责(对齐 prompt/14、06):
|
||
- 一单一个 thread_id;checkpoint 在 PostgreSQL(可开发降级 Memory);
|
||
- 停点 interrupt_before;Worker 槽内 start/resume/wake;
|
||
- 无 sender_id 不进图。
|
||
|
||
禁止:企微 HTTP、LibreOffice、主账六态真相、单文件堆全部节点业务。
|
||
骨架:节点仅打日志;HTTP 回调进程不要 import 后 invoke 整图。
|
||
"""
|
||
|
||
from agent.graph.runtime import (
|
||
GraphIdentityError,
|
||
GraphRuntime,
|
||
GraphWakeError,
|
||
get_graph_runtime,
|
||
shutdown_graph_runtime,
|
||
)
|
||
from agent.graph.wake import WorkerWakePayload
|
||
|
||
__all__ = [
|
||
"GraphIdentityError",
|
||
"GraphRuntime",
|
||
"GraphWakeError",
|
||
"WorkerWakePayload",
|
||
"get_graph_runtime",
|
||
"shutdown_graph_runtime",
|
||
]
|