Update CtrlExMem_CoderFlow.py
Browse files5 unmodified lines67891011124 unmodified lines171819202122231 unmodified line252627282930315 unmodified linesclass CtrlExMem_CoderFlow(CtrlExMemFlow):def _on_reach_max_round(self):self._state_update_dict({"answer": "the maximum amount of rounds was reached before the coder flow has done the job","summary": "CoderFlow: the maximum amount of rounds was reached before the flow has done the job","status": "unfinished"})4 unmodified linesif command == "finish":return {"EARLY_EXIT": True,"answer": output_payload["command_args"]["summary"],"summary": "Coder: " + output_payload["command_args"]["summary"],"status": "finished"}1 unmodified line# ~~~ return the manual quit status ~~~return {"EARLY_EXIT": True,"answer": "CoderFlow was terminated explicitly by the user, process is unfinished","summary": "Coder: process terminated by the user explicitly, nothing generated","status": "unfinished"}5 unmodified lines67891011124 unmodified lines171819202122231 unmodified line252627282930315 unmodified linesclass CtrlExMem_CoderFlow(CtrlExMemFlow):def _on_reach_max_round(self):self._state_update_dict({"result": "the maximum amount of rounds was reached before the coder flow has done the job","summary": "CoderFlow: the maximum amount of rounds was reached before the flow has done the job","status": "unfinished"})4 unmodified linesif command == "finish":return {"EARLY_EXIT": True,"result": output_payload["command_args"]["summary"],"summary": "Coder: " + output_payload["command_args"]["summary"],"status": "finished"}1 unmodified line# ~~~ return the manual quit status ~~~return {"EARLY_EXIT": True,"result": "CoderFlow was terminated explicitly by the user, process is unfinished","summary": "Coder: process terminated by the user explicitly, nothing generated","status": "unfinished"}
CtrlExMem_CoderFlow.py+3-3