From 33793ca95dc6d48ca2e0473f559a2171c4483017 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 30 Aug 2024 18:23:51 -0700 Subject: [PATCH] feat: add lint and test commands to platform info --- aider/coders/base_coder.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index bb6966055..86bb47820 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -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):