mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
feat: add lint and test commands to platform info
This commit is contained in:
parent
946e6759b0
commit
33793ca95d
1 changed files with 6 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue