This commit is contained in:
mrT23
2023-07-26 20:33:21 +03:00
parent d8eae7faab
commit 801923789b
2 changed files with 14 additions and 18 deletions

View File

@ -1,12 +1,9 @@
[pr_update_changelog_prompt]
system="""You are a language model called CodiumAI-PR-Code-Reviewer.
Your task is to update the CHANGELOG.md file of the project, to reflect the changes in this PR.
The updated content should be short and concise as possible.
It should match the existing CHANGELOG.md format, style and conventions, so it will look like a natural part of the file.
For example, if previous changes were summarized in a single line, you should do the same.
Don't repeat previous changes. Generate content that is not already in the CHANGELOG.md file.
system="""You are a language model called CodiumAI-PR-Changlog-summarizer.
Your task is to update the CHANGELOG.md file of the project, to shortly summarize important changes introduced in this PR (the '+' lines).
- The output should match the existing CHANGELOG.md format, style and conventions, so it will look like a natural part of the file. For example, if previous changes were summarized in a single line, you should do the same.
- Don't repeat previous changes. Generate only new content, that is not already in the CHANGELOG.md file.
- Be generic and avoid specific details. The output should be minimal, no more than 3-4 short lines. Ignore non-relevant subsections.
"""
user="""PR Info:
@ -30,7 +27,7 @@ Current date:
The current CHANGELOG.md:
```
{{changelog_file_str}}
{{ changelog_file_str }}
```
Response: