Update PlanWriterFlow.py
Browse files- PlanWriterFlow.py +3 -0
PlanWriterFlow.py
CHANGED
|
@@ -6,6 +6,9 @@ from aiflows.base_flows import CircularFlow
|
|
| 6 |
|
| 7 |
|
| 8 |
class PlanWriterFlow(ContentWriterFlow):
|
|
|
|
|
|
|
|
|
|
| 9 |
def _on_reach_max_round(self):
|
| 10 |
self._state_update_dict({
|
| 11 |
"plan": "The maximum amount of rounds was reached before the model generated the plan.",
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
class PlanWriterFlow(ContentWriterFlow):
|
| 9 |
+
"""This flow inherits from ContentWriterFlow.
|
| 10 |
+
In the subflow of the executor, we specify the InteractivePlanGneFlow (https://huggingface.co/Tachi67/InteractivePlanGenFlowModule)
|
| 11 |
+
"""
|
| 12 |
def _on_reach_max_round(self):
|
| 13 |
self._state_update_dict({
|
| 14 |
"plan": "The maximum amount of rounds was reached before the model generated the plan.",
|