mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
style: Remove trailing whitespace and format confirm_ask prompt
This commit is contained in:
parent
bba0cc8dc5
commit
d67eda24d2
1 changed files with 2 additions and 4 deletions
|
@ -925,9 +925,7 @@ class Commands:
|
||||||
if add_on_nonzero_exit:
|
if add_on_nonzero_exit:
|
||||||
add = exit_status != 0
|
add = exit_status != 0
|
||||||
else:
|
else:
|
||||||
add = self.io.confirm_ask(
|
add = self.io.confirm_ask(f"Add {k_tokens:.1f}k tokens of command output to the chat?")
|
||||||
f"Add {k_tokens:.1f}k tokens of command output to the chat?"
|
|
||||||
)
|
|
||||||
|
|
||||||
if add:
|
if add:
|
||||||
num_lines = len(combined_output.strip().splitlines())
|
num_lines = len(combined_output.strip().splitlines())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue