From 5d30c71ccf9268ef61265fb399ad0b12b332c94a Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 26 Jan 2025 19:02:55 -0800 Subject: [PATCH] copy --- aider/coders/base_coder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index 6a16d0e23..8648aa2fb 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -1237,8 +1237,8 @@ class Coder: if max_input_tokens and input_tokens >= max_input_tokens: self.io.tool_error( - f"Your current chat context {input_tokens:,} exceeds the model's" - f" {max_input_tokens:,} token limit!" + f"Your current chat context {input_tokens:,} exceeds the" + f" {max_input_tokens:,} token limit for {self.main_model.name}!" ) self.io.tool_output("To reduce the chat context:") self.io.tool_output("- Use /drop to remove unneeded files from the chat")