mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-21 15:36:48 +00:00
fix: remove the unnessary conditional edge. (#671)
This commit is contained in:
@@ -63,12 +63,6 @@ def _build_base_graph():
|
||||
["planner", "researcher", "coder"],
|
||||
)
|
||||
builder.add_edge("reporter", END)
|
||||
# Add conditional edges for coordinator to handle clarification flow
|
||||
builder.add_conditional_edges(
|
||||
"coordinator",
|
||||
lambda state: state.get("goto", "planner"),
|
||||
["planner", "background_investigator", "coordinator", END],
|
||||
)
|
||||
return builder
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user