diff --git a/gpt_engineer/steps.py b/gpt_engineer/steps.py index 88115da..897087f 100644 --- a/gpt_engineer/steps.py +++ b/gpt_engineer/steps.py @@ -143,10 +143,11 @@ def execute_entrypoint(ai, dbs): print() print(command) print() - print('If yes, press enter. If no, type "no"') + print('If yes, type "yes". If no, press enter.') print() - if input() == "no": + if input().lower() != "yes": print("Ok, not executing the code.") + return [] print("Executing the code...") print() subprocess.run("bash run.sh", shell=True, cwd=dbs.workspace.path)