gpt-pilot icon indicating copy to clipboard operation
gpt-pilot copied to clipboard

After `MAX_RECUSION_LAYER`, tell the user what should they fix themselves

Open nalbion opened this issue 1 year ago • 0 comments

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.

nalbion avatar Oct 14 '23 02:10 nalbion