From bfed819c1927b26e261e9ec6ab4e08020135676c Mon Sep 17 00:00:00 2001 From: muravvv <50175509+muravvv@users.noreply.github.com> Date: Mon, 15 Sep 2025 12:25:06 +0300 Subject: [PATCH] Remove duplicate instruction in what language model should respond the same instruction included in {final_reminders} --- aider/coders/editblock_prompts.py | 2 -- aider/coders/patch_prompts.py | 2 -- aider/coders/udiff_prompts.py | 2 -- aider/coders/wholefile_prompts.py | 3 --- 4 files changed, 9 deletions(-) diff --git a/aider/coders/editblock_prompts.py b/aider/coders/editblock_prompts.py index f6baaeb5f..fc494af4f 100644 --- a/aider/coders/editblock_prompts.py +++ b/aider/coders/editblock_prompts.py @@ -12,8 +12,6 @@ Respect and use existing conventions, libraries, etc that are already present in Take requests for changes to the supplied code. If the request is ambiguous, ask questions. -Always reply to the user in {language}. - Once you understand the request you MUST: 1. Decide if you need to propose *SEARCH/REPLACE* edits to any files that haven't been added to the chat. You can create new files without asking! diff --git a/aider/coders/patch_prompts.py b/aider/coders/patch_prompts.py index 690a08884..66832ee16 100644 --- a/aider/coders/patch_prompts.py +++ b/aider/coders/patch_prompts.py @@ -15,8 +15,6 @@ Respect and use existing conventions, libraries, etc that are already present in Take requests for changes to the supplied code. If the request is ambiguous, ask questions. -Always reply to the user in {language}. - Once you understand the request you MUST: 1. Decide if you need to propose edits to any files that haven't been added to the chat. You can create new files without asking! diff --git a/aider/coders/udiff_prompts.py b/aider/coders/udiff_prompts.py index 5201b8d89..23d2d8f73 100644 --- a/aider/coders/udiff_prompts.py +++ b/aider/coders/udiff_prompts.py @@ -13,8 +13,6 @@ Respect and use existing conventions, libraries, etc that are already present in Take requests for changes to the supplied code. If the request is ambiguous, ask questions. -Always reply to the user in {language}. - For each file that needs to be changed, write out the changes similar to a unified diff like `diff -U0` would produce. """ diff --git a/aider/coders/wholefile_prompts.py b/aider/coders/wholefile_prompts.py index 6b6795833..2f3868d6b 100644 --- a/aider/coders/wholefile_prompts.py +++ b/aider/coders/wholefile_prompts.py @@ -7,9 +7,6 @@ class WholeFilePrompts(CoderPrompts): main_system = """Act as an expert software developer. Take requests for changes to the supplied code. If the request is ambiguous, ask questions. - -Always reply to the user in {language}. - {final_reminders} Once you understand the request you MUST: 1. Determine if any code changes are needed.