mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
feat: add placeholder prompt when command fails with add flag
This commit is contained in:
parent
16250e1b7c
commit
51c02da206
1 changed files with 3 additions and 0 deletions
|
@ -921,6 +921,9 @@ class Commands:
|
||||||
dict(role="assistant", content="Ok."),
|
dict(role="assistant", content="Ok."),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if add and exit_status != 0:
|
||||||
|
self.io.placeholder = "Fix that"
|
||||||
|
|
||||||
def cmd_exit(self, args):
|
def cmd_exit(self, args):
|
||||||
"Exit the application"
|
"Exit the application"
|
||||||
self.coder.event("exit", reason="/exit")
|
self.coder.event("exit", reason="/exit")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue