mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-19 12:00:37 +08:00
stable
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
model="gpt-4"
|
||||
fallback-models=["gpt-3.5-turbo-16k"]
|
||||
git_provider="github"
|
||||
publish_output=false
|
||||
publish_output=true
|
||||
publish_output_progress=true
|
||||
verbosity_level=2 # 0,1,2
|
||||
use_extra_bad_extensions=false
|
||||
@ -25,7 +25,7 @@ publish_description_as_comment=false
|
||||
num_code_suggestions=4
|
||||
|
||||
[pr_update_changelog]
|
||||
push_changelog_changes=false
|
||||
push_changelog_changes=true
|
||||
|
||||
[github]
|
||||
# The type of deployment to create. Valid values are 'app' or 'user'.
|
||||
|
@ -1,9 +1,11 @@
|
||||
[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, based on the PR diff.
|
||||
The update should be short and concise. It should match the existing CHANGELOG.md format.
|
||||
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.
|
||||
|
||||
Note that the output should be only the added lines to the CHANGELOG.md file, and nothing else.
|
||||
Don't repeat previous changes. Generate content that is not already in the CHANGELOG.md file.
|
||||
|
||||
"""
|
||||
|
||||
@ -21,6 +23,11 @@ The PR Diff:
|
||||
{{diff}}
|
||||
```
|
||||
|
||||
Current date:
|
||||
```
|
||||
{{today}}
|
||||
```
|
||||
|
||||
The current CHANGELOG.md:
|
||||
```
|
||||
{{changelog_file}}
|
||||
|
Reference in New Issue
Block a user