deer-flow icon indicating copy to clipboard operation
deer-flow copied to clipboard

reporter 节点后添加一个节点未运行如何排查?

Open kzh2ang opened this issue 3 months ago • 3 comments

在nodes.py文件中新建了一个节点。

def html_reporter_node(state: State, config: RunnableConfig):
    """HTML Reporter node that write a html report."""
    logger.info(">>>> HTML Reporter write html report")
    configurable = Configuration.from_runnable_config(config)
...

并在builder.py中创建了reporter到html_reporter的边。

builder.add_edge("reporter","html_reporter")

查看graph关系正确,但是实际运行过程中日志显示运行到reporter_node就结束了,没有打印html_reporter节点的运行日志。 这个什么原因?

kzh2ang avatar Sep 15 '25 16:09 kzh2ang

可以贴下修改后的 builder.py 代码么 Image

Fancy-hjyp avatar Sep 16 '25 12:09 Fancy-hjyp

可以贴下修改后的 builder.py 代码么 Image

Image

kzh2ang avatar Sep 17 '25 10:09 kzh2ang

@kzh2ang 看builder文件没啥问题,可以本地运行main.py文件打断点调试下试试呢

Fancy-hjyp avatar Sep 17 '25 11:09 Fancy-hjyp