mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
feat: add subject to confirm_ask
This commit is contained in:
parent
7e6794d2c7
commit
72ebc7868a
1 changed files with 4 additions and 1 deletions
|
@ -353,9 +353,12 @@ class InputOutput:
|
|||
hist = "\n" + content.strip() + "\n\n"
|
||||
self.append_chat_history(hist)
|
||||
|
||||
def confirm_ask(self, question, default="y"):
|
||||
def confirm_ask(self, question, default="y", subject=None):
|
||||
self.num_user_asks += 1
|
||||
|
||||
if subject:
|
||||
self.tool_output(subject, bold=True)
|
||||
|
||||
if self.yes is True:
|
||||
res = "y"
|
||||
elif self.yes is False:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue