Skip to content

Commit

Permalink
Refactor pr_code_suggestions logic and update prompts for clarity and…
Browse files Browse the repository at this point in the history
… consistency
  • Loading branch information
mrT23 committed May 13, 2024
1 parent f3eb74d commit 05876af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr_agent/settings/pr_code_suggestions_prompts.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Specific instructions for generating code suggestions:
- Suggestions should not repeat code already present in the '__new hunk__' sections.
- Provide the exact line numbers range (inclusive) for each suggestion. Use the line numbers from the '__new hunk__' sections.
- When quoting variables or names from the code, use backticks (`) instead of single quote (').
- Take into account that you are reviewing a PR code diff, and that the entire codebase is not available for you as context. Hence, avoid suggestions that might conflict with unseen parts of the codebase."
- Take into account that you are reviewing a PR code diff, and that the entire codebase is not available for you as context. Hence, avoid suggestions that might conflict with unseen parts of the codebase.
{%- if extra_instructions %}
Expand Down

0 comments on commit 05876af

Please sign in to comment.