Update ControllerAtomicFlow.py
Browse files- ControllerAtomicFlow.py +6 -0
ControllerAtomicFlow.py
CHANGED
|
@@ -74,6 +74,12 @@ class ControllerAtomicFlow(OpenAIChatAtomicFlow):
|
|
| 74 |
]
|
| 75 |
kwargs.update({"commands": commands})
|
| 76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
# ~~~ Instantiate flow ~~~
|
| 78 |
return cls(**kwargs)
|
| 79 |
|
|
|
|
| 74 |
]
|
| 75 |
kwargs.update({"commands": commands})
|
| 76 |
|
| 77 |
+
# ~~~ Set up file location for plan and code ~~~
|
| 78 |
+
plan_file_location = flow_config["plan_file_location"]
|
| 79 |
+
code_file_location = flow_config["code_file_location"]
|
| 80 |
+
kwargs.update({"plan_file_location": plan_file_location})
|
| 81 |
+
kwargs.update({"code_file_location": code_file_location})
|
| 82 |
+
|
| 83 |
# ~~~ Instantiate flow ~~~
|
| 84 |
return cls(**kwargs)
|
| 85 |
|