From cbd35b0e87e699822ce3602f9391fc0cb9fc35fe Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 21 Nov 2024 06:23:34 -0800 Subject: [PATCH] feat: Implement line count for command output in chat --- aider/coders/base_coder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index 8d0d6a265..a3cd668fd 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -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