From e84caa48a0aa9f2413ebad684862cabb33282a09 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 10 Sep 2024 09:44:52 -0700 Subject: [PATCH] refactor: modify stdout reading chunk size in run_cmd_subprocess --- aider/run_cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/run_cmd.py b/aider/run_cmd.py index e72dbe9c3..ce0c6ac34 100644 --- a/aider/run_cmd.py +++ b/aider/run_cmd.py @@ -71,7 +71,7 @@ def run_cmd_subprocess(command, verbose=False): output = [] while True: - chunk = process.stdout.read(1024) # Read in 1KB chunks + chunk = process.stdout.read(1) if not chunk: break print(chunk, end="", flush=True) # Print the chunk in real-time