mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2025-12-26 16:57:23 +01:00
- split step implementation into different functions
- standardized the return value in the implementation process - { "success": True }
- added propagation of errors back to the recursion level 0 with TooDeepRecursionError and TokenLimitError
- created new class Debugger and moved debugging in it
6 lines
141 B
Python
6 lines
141 B
Python
MAX_COMMAND_DEBUG_TRIES = 3
|
|
MAX_RECUSION_LAYER = 3
|
|
MIN_COMMAND_RUN_TIME = 2000
|
|
MAX_COMMAND_RUN_TIME = 30000
|
|
MAX_COMMAND_OUTPUT_LENGTH = 2000
|