Skip to content

Commit

Permalink
fix: Correct typo in base_coder by removing duplicate 'in'
Browse files Browse the repository at this point in the history
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."
  • Loading branch information
caetanominuzzo committed Nov 21, 2024
1 parent e94961a commit 1b9073b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aider/coders/base_coder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1b9073b

Please sign in to comment.