From 51c02da206c82373895a142be560de4acd96d8f2 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 3 Dec 2024 08:43:54 -0800 Subject: [PATCH] feat: add placeholder prompt when command fails with add flag --- aider/commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aider/commands.py b/aider/commands.py index 671a0534d..3e910f590 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -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")