Files
pr-agent/pr_agent/settings/configuration.toml

47 lines
1.0 KiB
TOML
Raw Normal View History

2023-07-06 00:21:08 +03:00
[config]
2023-07-23 16:16:36 +03:00
model="gpt-4"
fallback-models=["gpt-3.5-turbo-16k", "gpt-3.5-turbo"]
2023-07-06 00:21:08 +03:00
git_provider="github"
2023-07-18 08:05:42 +03:00
publish_output=true
publish_output_progress=true
2023-07-17 15:49:29 +03:00
verbosity_level=0 # 0,1,2
use_extra_bad_extensions=false
2023-07-06 00:21:08 +03:00
[pr_reviewer]
2023-07-11 08:50:28 +03:00
require_focused_review=true
2023-07-19 11:00:28 +03:00
require_score_review=false
2023-07-06 00:21:08 +03:00
require_tests_review=true
require_security_review=true
2023-07-19 09:34:17 +03:00
num_code_suggestions=0
2023-07-13 09:44:33 +03:00
inline_code_comments = true
2023-07-17 15:49:29 +03:00
ask_and_reflect=false
2023-07-06 00:21:08 +03:00
2023-07-17 08:18:42 +03:00
[pr_description]
publish_description_as_comment=false
2023-07-08 08:52:11 +03:00
[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"
2023-07-08 08:52:11 +03:00
[gitlab]
# URL to the gitlab service
2023-07-12 18:02:28 +03:00
url = "https://gitlab.com"
2023-07-08 08:52:11 +03:00
# Polling (either project id or namespace/project_name) syntax can be used
projects_to_monitor = ['org_name/repo_name']
2023-07-08 08:52:11 +03:00
# Polling trigger
2023-07-08 11:49:11 +03:00
magic_word = "AutoReview"
2023-07-08 10:26:41 +03:00
# Polling interval
polling_interval_seconds = 30
2023-07-24 12:49:57 +02:00
[local]
# LocalGitProvider settings - uncomment to use paths other than default
# description_path= "path/to/description.md"
# review_path= "path/to/review.md"