Tachi67 commited on
Commit
ca95c8a
1 Parent(s): d1cdaff

Update ReplanningFlow.py

Browse files
Files changed (1) hide show
  1. ReplanningFlow.py +3 -3
ReplanningFlow.py CHANGED
@@ -8,7 +8,7 @@ class ReplanningFlow(PlanWriterFlow):
8
  self._state_update_dict({
9
  "plan": "The maximum amount of rounds was reached before the model generated the plan.",
10
  "status": "unfinished",
11
- "summary": "ExtendLibraryFlow/Replanning: The maximum amount of rounds was reached before the model generated the plan.",
12
  })
13
 
14
 
@@ -36,7 +36,7 @@ class ReplanningFlow(PlanWriterFlow):
36
  "EARLY_EXIT": True,
37
  "plan": new_plan_content,
38
  "result": "New plan was generated and has overriden the previous plan",
39
- "summary": "ExtendLibraryFlow/ReplanningFlow: " + output_payload["command_args"]["summary"] + f" new plan is written to {plan_file_location}",
40
  "status": "finished"
41
  }
42
  elif command == "manual_finish":
@@ -51,7 +51,7 @@ class ReplanningFlow(PlanWriterFlow):
51
  "EARLY_EXIT": True,
52
  "new_plan": "no new plan was generated",
53
  "result": "The replanner was explicitly terminated by the user, no new plan was generated.",
54
- "summary": "ExtendLibraryFlow/ReplanningFlow: Replanner was terminated explicitly by the user, process is unfinished",
55
  "status": "unfinished"
56
  }
57
  elif command == "write_plan":
 
8
  self._state_update_dict({
9
  "plan": "The maximum amount of rounds was reached before the model generated the plan.",
10
  "status": "unfinished",
11
+ "summary": "Replanning: The maximum amount of rounds was reached before the model generated the plan.",
12
  })
13
 
14
 
 
36
  "EARLY_EXIT": True,
37
  "plan": new_plan_content,
38
  "result": "New plan was generated and has overriden the previous plan",
39
+ "summary": "ReplanningFlow: " + output_payload["command_args"]["summary"] + f" new plan is written to {plan_file_location}",
40
  "status": "finished"
41
  }
42
  elif command == "manual_finish":
 
51
  "EARLY_EXIT": True,
52
  "new_plan": "no new plan was generated",
53
  "result": "The replanner was explicitly terminated by the user, no new plan was generated.",
54
+ "summary": "ReplanningFlow: Replanner was terminated explicitly by the user, process is unfinished",
55
  "status": "unfinished"
56
  }
57
  elif command == "write_plan":