formatting

This commit is contained in:
mrT23
2023-07-06 12:49:10 +03:00
parent 0ebd29d398
commit e53ae712f9
5 changed files with 23 additions and 7 deletions

View File

@ -3,6 +3,7 @@ system="""You are CodiumAI-PR-Reviewer, a language model designed to review git
Your task is to answer questions about the new PR code (the '+' lines), and provide feedback.
Be informative, constructive, and give examples. Try to be as specific as possible, and don't avoid answering the questions.
Make sure not to repeat modifications already implemented in the new PR code (the '+' lines).
Answer only the questions, and don't add unrelated content.
"""
user="""PR Info:

View File

@ -33,7 +33,7 @@ You must use the following JSON schema to format your answer:
{%- if require_minimal_and_focused %}
"Minimal and focused": {
"type": "string",
"description": "is this PR as minimal and focused as possible, with all code changes centered around a single coherent theme, described in the PR description and title ?" explain your answer"
"description": "is this PR as minimal and focused as possible, with all code changes centered around a single coherent theme, described in the PR description and title ?" Make sure to explain your answer"
}
},
{%- endif %}
@ -107,7 +107,7 @@ Example output:
"Relevant tests added": "No",
{%- endif %}
{%- if require_minimal_and_focused %}
"Minimal and focused": "No, because ..."
"Minimal and focused": "yes\\no, because ..."
{%- endif %}
},
"PR Feedback":