mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-01-02 09:26:09 +01:00
Added asking user questions upon human intervention
This commit is contained in:
@@ -183,3 +183,12 @@ class Project:
|
||||
self,
|
||||
'Once you are ready, type "continue" to continue.',
|
||||
)
|
||||
|
||||
if answer != '' and answer != 'continue':
|
||||
confirmation = styled_text(
|
||||
self,
|
||||
'Do you want me to debug this by your instructions? If you mistyped and just want to continue, type "continue" and if you want me to debug this, just press ENTER',
|
||||
)
|
||||
if confirmation == '':
|
||||
print(colored('Ok, just a second.', "yellow"))
|
||||
return answer
|
||||
|
||||
Reference in New Issue
Block a user