refactor: remove redundant get_system_info method and update related test

This commit is contained in:
Paul Gauthier 2024-09-05 13:00:32 -07:00 committed by Paul Gauthier (aider)
parent 45855bd96c
commit 8cfdcbd976
2 changed files with 2 additions and 8 deletions

View file

@ -919,12 +919,6 @@ class Coder:
return platform_text
def get_system_info(self):
system_info = self.get_platform_info()
if self.chat_language:
system_info += f"- Chat language: {self.chat_language}\n"
return system_info
def fmt_system_prompt(self, prompt):
lazy_prompt = self.gpt_prompts.lazy_prompt if self.main_model.lazy else ""
platform_text = self.get_platform_info()