feat: add lint and test commands to platform info

This commit is contained in:
Paul Gauthier (aider) 2024-08-30 18:23:51 -07:00
parent 946e6759b0
commit 33793ca95d

View file

@ -884,6 +884,12 @@ class Coder:
if self.repo:
platform_text += "- The user is operating inside a git repository\n"
if self.lint_cmds:
platform_text += f"- Lint commands: {self.lint_cmds}\n"
if self.test_cmd:
platform_text += f"- Test command: {self.test_cmd}\n"
return platform_text
def fmt_system_prompt(self, prompt):