CCFlows / CF_CodeDebugCriticWithPlan.py
nbaldwin's picture
renamed flows to aiflows
a44c20f
raw
history blame contribute delete
368 Bytes
from aiflows.base_flows import SequentialFlow
class CF_CodeDebugCriticWithPlan(SequentialFlow):
def __init__(self, **kwargs):
super().__init__(**kwargs)
def _early_exit(self):
if self.flow_state.get("all_tests_passed", False):
self.flow_state["code_feedback"] = None
return True
return super()._early_exit()