mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
fix: Correct command output confirmation logic in base coder
This commit is contained in:
parent
1f0d26e8c7
commit
443acbe4b5
1 changed files with 3 additions and 4 deletions
|
@ -2061,9 +2061,8 @@ class Coder:
|
|||
if output:
|
||||
accumulated_output += f"Output from {command}\n{output}\n"
|
||||
|
||||
if accumulated_output.strip() and not self.io.confirm_ask(
|
||||
if accumulated_output.strip() and self.io.confirm_ask(
|
||||
"Add command output to the chat?", allow_never=True
|
||||
):
|
||||
accumulated_output = ""
|
||||
|
||||
return accumulated_output
|
||||
self.io.output("Added ## lines of output to the chat") # TODO
|
||||
return accumulated_output
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue