From d785bc838e4128ce1e855537b8d099a50dddc555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Boulle?= Date: Fri, 31 Jan 2025 18:21:52 +0100 Subject: [PATCH] fix(gen-ai): remove sections if not meaningful Try to be more conscise --- changelog_generator/ai_generator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog_generator/ai_generator.py b/changelog_generator/ai_generator.py index f1d2fe2..2a0594c 100644 --- a/changelog_generator/ai_generator.py +++ b/changelog_generator/ai_generator.py @@ -10,6 +10,7 @@ def get_prompt(prefix: str) -> str: return f""" Here's a `git diff` between two versions (represented as `git tags`). Write a **concise and precise summary** of this diff using the following structure. **Do not introduce new sections** and prioritize **changes** files with this {prefix} over modifications in the common layer. + Section 2 and 3 can be removed if they are not meaningful. ### Structure: 1. **TL;DR**: A brief, high-impact summary of the most significant changes. Keep it to a few lines.