Tachi67 commited on
Commit
c6a7812
·
1 Parent(s): 4462cc9

Upload 10 files

Browse files
Files changed (2) hide show
  1. PlanWriterFlow.py +6 -0
  2. PlanWriterFlow.yaml +0 -3
PlanWriterFlow.py CHANGED
@@ -52,5 +52,11 @@ class PlanWriterFlow(ContentWriterFlow):
52
  "summary": "PlanWriter: PlanWriter was terminated explicitly by the user, process is unfinished",
53
  "status": "unfinished"
54
  }
 
 
 
 
 
 
55
  else:
56
  return output_payload
 
52
  "summary": "PlanWriter: PlanWriter was terminated explicitly by the user, process is unfinished",
53
  "status": "unfinished"
54
  }
55
+ elif command == "write_plan":
56
+ keys_to_fetch_from_state = ["plan_file_location"]
57
+ fetched_state = self._fetch_state_attributes_by_keys(keys=keys_to_fetch_from_state)
58
+ plan_file_location = fetched_state["plan_file_location"]
59
+ output_payload["command_args"]["plan_file_location"] = plan_file_location
60
+ return output_payload
61
  else:
62
  return output_payload
PlanWriterFlow.yaml CHANGED
@@ -28,9 +28,6 @@ subflows_config:
28
  write_plan:
29
  _target_: Tachi67.InteractivePlanGenFlowModule.InteractivePlanGenFlow.instantiate_from_default_config
30
  subflows_config:
31
- MemoryReading:
32
- _target_: Tachi67.MemoryReadingFlowModule.MemoryReadingAtomicFlow.instantiate_from_default_config
33
-
34
  PlanGenerator:
35
  _target_: Tachi67.PlanGeneratorFlowModule.PlanGeneratorAtomicFlow.instantiate_from_default_config
36
  backend:
 
28
  write_plan:
29
  _target_: Tachi67.InteractivePlanGenFlowModule.InteractivePlanGenFlow.instantiate_from_default_config
30
  subflows_config:
 
 
 
31
  PlanGenerator:
32
  _target_: Tachi67.PlanGeneratorFlowModule.PlanGeneratorAtomicFlow.instantiate_from_default_config
33
  backend: