Update UpdatePlanAtomicFlow.py
Browse files123456from typing import Dict, Anyfrom aiflows.base_flows.atomic import AtomicFlowclass UpdatePlanAtomicFlow(AtomicFlow):def _check_input(self, input_data: Dict[str, Any]):assert "memory_files" in input_data, "memory_files not passed to UpdatePlanAtomicFlow"assert "plan" in input_data["memory_files"], "plan not in memory_files"1234567from typing import Dict, Anyfrom aiflows.base_flows.atomic import AtomicFlowclass UpdatePlanAtomicFlow(AtomicFlow):"""Refer to: https://huggingface.co/Tachi67/CoderFlowModule/blob/main/UpdatePlanAtomicFlow.py"""def _check_input(self, input_data: Dict[str, Any]):assert "memory_files" in input_data, "memory_files not passed to UpdatePlanAtomicFlow"assert "plan" in input_data["memory_files"], "plan not in memory_files"
UpdatePlanAtomicFlow.py+1