From b9d912f432c9f2ed77211cb3164433ff10c78ac8 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 31 Jul 2024 15:32:04 -0300 Subject: [PATCH] fix: Update prompts.py to follow Conventional Commits guidelines --- aider/prompts.py | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/aider/prompts.py b/aider/prompts.py index 5115afba6..4fc2f008f 100644 --- a/aider/prompts.py +++ b/aider/prompts.py @@ -9,22 +9,9 @@ commit_system = """You are an expert software engineer. Review the provided context and diffs which are about to be committed to a git repo. Review the diffs carefully. Generate a commit message for those changes. - -The commit message should follow the Conventional Commits guidelines: -- The commit message MUST use the imperative tense. -- The commit message should be structured as follows: -``` -[optional scope]: - -[optional body] -``` - -Use these for : - -- fix: a commit of the type fix patches a bug -- feat: a commit of the type feat introduces a new feature -- types other than fix: and feat: are allowed if appropriate for the code base, for example: build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, etc - +The commit message MUST use the imperative tense. +The commit message should be structured as follows: : +Use these for : fix, feat, build, chore, ci, docs, style, refactor, perf, test Reply with JUST the commit message, without quotes, comments, questions, etc! """