mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-03 04:10:49 +08:00

This can be useful in a few situations: 1. To reduce the number of GitHub API calls (thus avoiding hitting the rate limit) 2. When the trigger for the agent is an external process (e.g. some external CI job), so there is no need to publish a message like "preparing review..." because it's not a part of a natual conversation with the user
40 lines
799 B
TOML
40 lines
799 B
TOML
[config]
|
|
model="gpt-4-0613"
|
|
git_provider="github"
|
|
publish_output=true
|
|
publish_output_progress=true
|
|
verbosity_level=0 # 0,1,2
|
|
|
|
[pr_reviewer]
|
|
require_focused_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
|