Update UpdatePlanAtomicFlow.py
Browse files- UpdatePlanAtomicFlow.py +1 -0
UpdatePlanAtomicFlow.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
from typing import Dict, Any
|
| 2 |
from aiflows.base_flows.atomic import AtomicFlow
|
| 3 |
class UpdatePlanAtomicFlow(AtomicFlow):
|
|
|
|
| 4 |
def _check_input(self, input_data: Dict[str, Any]):
|
| 5 |
assert "memory_files" in input_data, "memory_files not passed to UpdatePlanAtomicFlow"
|
| 6 |
assert "plan" in input_data["memory_files"], "plan not in memory_files"
|
|
|
|
| 1 |
from typing import Dict, Any
|
| 2 |
from aiflows.base_flows.atomic import AtomicFlow
|
| 3 |
class UpdatePlanAtomicFlow(AtomicFlow):
|
| 4 |
+
"""Refer to: https://huggingface.co/Tachi67/CoderFlowModule/blob/main/UpdatePlanAtomicFlow.py"""
|
| 5 |
def _check_input(self, input_data: Dict[str, Any]):
|
| 6 |
assert "memory_files" in input_data, "memory_files not passed to UpdatePlanAtomicFlow"
|
| 7 |
assert "plan" in input_data["memory_files"], "plan not in memory_files"
|