Update PlanFileEditAtomicFlow.py
Browse files- PlanFileEditAtomicFlow.py +11 -0
PlanFileEditAtomicFlow.py
CHANGED
|
@@ -6,6 +6,17 @@ import os
|
|
| 6 |
|
| 7 |
|
| 8 |
class PlanFileEditAtomicFlow(AtomicFlow):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
def _generate_content(self, plan_file_location, plan_str) -> str:
|
| 10 |
content = (
|
| 11 |
"The below plan will be written to " +
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
class PlanFileEditAtomicFlow(AtomicFlow):
|
| 9 |
+
"""This class is used to write plan to a temp code file, with commented instructions to give information
|
| 10 |
+
to the user.
|
| 11 |
+
|
| 12 |
+
*Input Interface*:
|
| 13 |
+
- `plan`: str
|
| 14 |
+
- `plan_file_location`: str
|
| 15 |
+
|
| 16 |
+
*Output Interface*:
|
| 17 |
+
- `plan_editor_output`: str
|
| 18 |
+
- `temp_plan_file_location`: str
|
| 19 |
+
"""
|
| 20 |
def _generate_content(self, plan_file_location, plan_str) -> str:
|
| 21 |
content = (
|
| 22 |
"The below plan will be written to " +
|