mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-05 21:30:40 +08:00
feat: Enhance PR description formatting and update instructions in pr_description_prompts.toml
This commit is contained in:
@ -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.
|
- 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.
|
- The generated title and description should prioritize the most significant changes.
|
||||||
- If needed, each YAML output should be in block scalar indicator ('|-')
|
- 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 %}
|
{%- if extra_instructions %}
|
||||||
|
|
||||||
|
@ -371,8 +371,9 @@ class PRDescription:
|
|||||||
<summary><strong>{filename_publish}</strong></summary>
|
<summary><strong>{filename_publish}</strong></summary>
|
||||||
<ul>
|
<ul>
|
||||||
{filename}<br><br>
|
{filename}<br><br>
|
||||||
<strong>{file_change_description}</strong>
|
|
||||||
</ul>
|
**{file_change_description}**
|
||||||
|
</ul>
|
||||||
</details>
|
</details>
|
||||||
</td>
|
</td>
|
||||||
<td><a href="{link}"> {diff_plus_minus}</a></td>
|
<td><a href="{link}"> {diff_plus_minus}</a></td>
|
||||||
|
Reference in New Issue
Block a user