gpt-pilot
gpt-pilot copied to clipboard
After `MAX_RECUSION_LAYER`, tell the user what should they fix themselves
In Debugger.debug()
we raise TooDeepRecursionError()
when we get to MAX_RECUSION_LAYER
.
This is called from Developer.step_human_intervention()
and test_code_changes()
.
We should catch the exception and tell the user what they should fix.