From 1b9073b0858ca08ffea26fcd67c83ac88f4aad97 Mon Sep 17 00:00:00 2001 From: caetanominuzzo Date: Thu, 21 Nov 2024 14:19:39 -0300 Subject: [PATCH] fix: Correct typo in base_coder by removing duplicate 'in' This corrects a grammatical error in the system prompt within `base_coder.py`. The `language` variable was previously set as: language = "in the same language they are using" Which resulted in the prompt: "Always reply to the user IN IN the same language they are using." --- aider/coders/base_coder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index df2813103a..66af812d9f 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -962,7 +962,7 @@ def fmt_system_prompt(self, prompt): if self.chat_language: language = self.chat_language else: - language = "in the same language they are using" + language = "the same language they are using" prompt = prompt.format( fence=self.fence,