feat: add placeholder prompt when command fails with add flag

This commit is contained in:
Paul Gauthier 2024-12-03 08:43:54 -08:00 committed by Paul Gauthier (aider)
parent 16250e1b7c
commit 51c02da206

View file

@ -921,6 +921,9 @@ class Commands:
dict(role="assistant", content="Ok."),
]
if add and exit_status != 0:
self.io.placeholder = "Fix that"
def cmd_exit(self, args):
"Exit the application"
self.coder.event("exit", reason="/exit")