Update WritePlanFlow.py
Browse files- WritePlanFlow.py +2 -9
WritePlanFlow.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
from typing import Dict, Any
|
| 2 |
|
| 3 |
from flows.base_flows import SequentialFlow
|
|
|
|
| 4 |
from flows.utils import logging
|
| 5 |
from .PlanGeneratorAtomicFlow import PlanGeneratorAtomicFlow
|
| 6 |
|
|
@@ -8,12 +9,4 @@ logging.set_verbosity_debug()
|
|
| 8 |
log = logging.get_logger(__name__)
|
| 9 |
|
| 10 |
class WritePlanFlow(SequentialFlow):
|
| 11 |
-
|
| 12 |
-
def detect_finish_or_continue(self, output_payload: Dict[str, Any], src_flow: PlanGeneratorAtomicFlow) -> Dict[str, Any]:
|
| 13 |
-
if "plan" not in output_payload:
|
| 14 |
-
return {
|
| 15 |
-
"EARLY_EXIT": True,
|
| 16 |
-
"plan_writer_output": output_payload
|
| 17 |
-
}
|
| 18 |
-
else:
|
| 19 |
-
return output_payload
|
|
|
|
| 1 |
from typing import Dict, Any
|
| 2 |
|
| 3 |
from flows.base_flows import SequentialFlow
|
| 4 |
+
from flows.base_flows import CircularFlow
|
| 5 |
from flows.utils import logging
|
| 6 |
from .PlanGeneratorAtomicFlow import PlanGeneratorAtomicFlow
|
| 7 |
|
|
|
|
| 9 |
log = logging.get_logger(__name__)
|
| 10 |
|
| 11 |
class WritePlanFlow(SequentialFlow):
|
| 12 |
+
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|