From f32580caf2484c484b3e4f0c1f4fbb98d7578370 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 23 Jun 2023 10:13:13 -0700 Subject: [PATCH] red if exhausted --- aider/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/commands.py b/aider/commands.py index cea846db0..e329e56ae 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -144,7 +144,7 @@ class Commands: if remaining > 0: self.io.tool_output(f"{fmt(remaining)} tokens remaining in context window") else: - self.io.tool_output(f"{fmt(remaining)} tokens remaining, window exhausted!") + self.io.tool_error(f"{fmt(remaining)} tokens remaining, window exhausted!") self.io.tool_output(f"{fmt(limit)} tokens max context window size") def cmd_undo(self, args):