File size: 312 Bytes
a44c20f
8a7fcb3
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from aiflows.base_flows import CircularFlow


class CF_CodeDebugCollabWithPlan(CircularFlow):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)

    def _early_exit(self):
        if self.flow_state.get("all_tests_passed", False):
            return True

        return super()._early_exit()