mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-17 03:34:45 +08:00
refactor: human feedback doesn't need to check enough context (#423)
This commit is contained in:
@@ -186,8 +186,6 @@ def human_feedback_node(
|
||||
plan_iterations += 1
|
||||
# parse the plan
|
||||
new_plan = json.loads(current_plan)
|
||||
if new_plan["has_enough_context"]:
|
||||
goto = "reporter"
|
||||
except json.JSONDecodeError:
|
||||
logger.warning("Planner response is not a valid JSON")
|
||||
if plan_iterations > 1: # the plan_iterations is increased before this check
|
||||
|
||||
Reference in New Issue
Block a user