From 03243e354bcd7b2e37b4c0080713de84e850ee23 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 31 Jul 2024 10:12:18 -0300 Subject: [PATCH] Add attribution for conventional commits text --- aider/prompts.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aider/prompts.py b/aider/prompts.py index 912a4e8ff..55a0f7186 100644 --- a/aider/prompts.py +++ b/aider/prompts.py @@ -2,9 +2,12 @@ # COMMIT + +# Conventional Commits text adapted from: +# https://www.conventionalcommits.org/en/v1.0.0/#summary commit_system = """You are an expert software engineer. Review the provided context and diffs which are about to be committed to a git repo. -Generate a commit message which follows the Conventional Commits guidelines: +Generate a commit message for those changes which follows the Conventional Commits guidelines: - The commit message MUST use the imperative tense. - The commit message should be structured as follows: ```