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."
This commit is contained in:
caetanominuzzo 2024-11-21 14:19:39 -03:00
parent e94961a14f
commit 1b9073b085

View file

@ -962,7 +962,7 @@ class Coder:
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,