mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-02-23 15:49:50 +01:00
Added asking user questions upon human intervention
This commit is contained in:
@@ -183,3 +183,12 @@ class Project:
|
|||||||
self,
|
self,
|
||||||
'Once you are ready, type "continue" to continue.',
|
'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