mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
feat: Implement line count for command output in chat
This commit is contained in:
parent
443acbe4b5
commit
cbd35b0e87
1 changed files with 2 additions and 1 deletions
|
@ -2064,5 +2064,6 @@ class Coder:
|
|||
if accumulated_output.strip() and self.io.confirm_ask(
|
||||
"Add command output to the chat?", allow_never=True
|
||||
):
|
||||
self.io.output("Added ## lines of output to the chat") # TODO
|
||||
num_lines = len(accumulated_output.strip().splitlines())
|
||||
self.io.output(f"Added {num_lines} lines of output to the chat")
|
||||
return accumulated_output
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue