Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public StateGraph deepResearch(ChatClient researchAgent) throws GraphStateExcept
Map.of("planner", "planner", "research_team", "research_team", END, END))
.addConditionalEdges("research_team", edge_async(new ResearchTeamDispatcher()),
Map.of("professional_kb_decision", "professional_kb_decision", "parallel_executor",
"parallel_executor", END, END))
"parallel_executor", "planner", "planner", END, END))
.addConditionalEdges("professional_kb_decision", edge_async(new ProfessionalKbDispatcher()),
Map.of("professional_kb_rag", "professional_kb_rag", "reporter", "reporter", END, END))
.addEdge("professional_kb_rag", "reporter")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Map<String, Object> apply(OverAllState state) throws Exception {

public boolean areAllExecutionResultsPresent(Plan plan) {
if (CollectionUtils.isEmpty(plan.getSteps())) {
return false;
return true;
}

return plan.getSteps()
Expand Down