feat: Add custom labels and extra instructions sections to help.py, summarize mode to pr_code_suggestions.py, and summarize mode condition to pr_code_suggestions_prompts.toml

This commit is contained in:
mrT23
2024-01-09 22:09:48 +02:00
parent da3ac656ee
commit 9c6aabb0bb
3 changed files with 24 additions and 0 deletions

View File

@ -39,6 +39,9 @@ Specific instructions:
- Provide the exact line numbers range (inclusive) for each suggestion.
- Assume there is additional relevant code, that is not included in the diff.
- When quoting variables or names from the code, use backticks (`) instead of single quote (').
{%- if summarize_mode %}
- If needed, use abbreviations for the 'existing code' and 'improved code' snippets, to keep the output short.
{%- endif %}
{%- if extra_instructions %}