diff --git a/pr_agent/settings/pr_description_prompts.toml b/pr_agent/settings/pr_description_prompts.toml index 38b95a3a..7538e4aa 100644 --- a/pr_agent/settings/pr_description_prompts.toml +++ b/pr_agent/settings/pr_description_prompts.toml @@ -5,6 +5,7 @@ Your task is to provide a full description for the PR content - title, type, des - Keep in mind that the 'Previous title', 'Previous description' and 'Commit messages' sections may be partial, simplistic, non-informative or out of date. Hence, compare them to the PR diff code, and use them only as a reference. - The generated title and description should prioritize the most significant changes. - If needed, each YAML output should be in block scalar indicator ('|-') +- When quoting variables or names from the code, use backticks (`) instead of single quote ('). {%- if extra_instructions %} diff --git a/pr_agent/tools/pr_description.py b/pr_agent/tools/pr_description.py index 7aece073..9e3b22a1 100644 --- a/pr_agent/tools/pr_description.py +++ b/pr_agent/tools/pr_description.py @@ -371,8 +371,9 @@ class PRDescription: {filename_publish} + +**{file_change_description}** + {diff_plus_minus}