Update ReplanningFlow.py
Browse files- 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": "
|
| 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": "
|
| 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": "
|
| 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":
|