mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 11:50:37 +08:00

This can help teams compare the review of the PR agent with that of a human reviewer, and fine-tune a score threshold for automatic approval where they decide the agent's review is satisfactory.
40 lines
796 B
TOML
40 lines
796 B
TOML
[config]
|
|
model="gpt-4-0613"
|
|
git_provider="github"
|
|
publish_output=true
|
|
verbosity_level=0 # 0,1,2
|
|
|
|
[pr_reviewer]
|
|
require_focused_review=true
|
|
require_score_review=true
|
|
require_tests_review=true
|
|
require_security_review=true
|
|
num_code_suggestions=3
|
|
inline_code_comments = true
|
|
ask_and_reflect=false
|
|
|
|
[pr_description]
|
|
publish_description_as_comment=false
|
|
|
|
[pr_questions]
|
|
|
|
[pr_code_suggestions]
|
|
num_code_suggestions=4
|
|
|
|
[github]
|
|
# The type of deployment to create. Valid values are 'app' or 'user'.
|
|
deployment_type = "user"
|
|
|
|
[gitlab]
|
|
# URL to the gitlab service
|
|
url = "https://gitlab.com"
|
|
|
|
# Polling (either project id or namespace/project_name) syntax can be used
|
|
projects_to_monitor = ['org_name/repo_name']
|
|
|
|
# Polling trigger
|
|
magic_word = "AutoReview"
|
|
|
|
# Polling interval
|
|
polling_interval_seconds = 30
|