2023-07-06 00:21:08 +03:00
|
|
|
[config]
|
2023-07-23 16:16:36 +03:00
|
|
|
model="gpt-4"
|
2023-07-26 20:36:05 +03:00
|
|
|
fallback_models=["gpt-3.5-turbo-16k"]
|
2023-07-06 00:21:08 +03:00
|
|
|
git_provider="github"
|
2023-07-26 16:29:42 +03:00
|
|
|
publish_output=true
|
2023-07-18 16:32:49 +03:00
|
|
|
publish_output_progress=true
|
2023-07-26 20:03:22 +03:00
|
|
|
verbosity_level=0 # 0,1,2
|
2023-07-20 15:41:03 +02:00
|
|
|
use_extra_bad_extensions=false
|
2023-08-01 17:22:03 +03:00
|
|
|
use_repo_settings_file=true
|
2023-08-07 13:26:28 +03:00
|
|
|
ai_timeout=180
|
2023-08-09 12:17:54 +03:00
|
|
|
max_description_tokens = 500
|
|
|
|
max_commits_tokens = 500
|
2023-07-06 00:21:08 +03:00
|
|
|
|
2023-07-30 11:43:44 +03:00
|
|
|
[pr_reviewer] # /review #
|
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-08-05 10:34:09 +03:00
|
|
|
num_code_suggestions=3
|
|
|
|
inline_code_comments = false
|
2023-07-17 15:49:29 +03:00
|
|
|
ask_and_reflect=false
|
2023-08-16 16:17:00 -04:00
|
|
|
automatic_review=true
|
2023-07-30 11:43:44 +03:00
|
|
|
extra_instructions = ""
|
2023-07-06 00:21:08 +03:00
|
|
|
|
2023-07-30 11:43:44 +03:00
|
|
|
[pr_description] # /describe #
|
2023-07-17 08:18:42 +03:00
|
|
|
publish_description_as_comment=false
|
2023-07-30 11:43:44 +03:00
|
|
|
extra_instructions = ""
|
2023-07-17 08:18:42 +03:00
|
|
|
|
2023-07-30 11:43:44 +03:00
|
|
|
[pr_questions] # /ask #
|
2023-07-08 08:52:11 +03:00
|
|
|
|
2023-07-30 11:43:44 +03:00
|
|
|
[pr_code_suggestions] # /improve #
|
2023-07-15 09:30:50 +03:00
|
|
|
num_code_suggestions=4
|
2023-07-30 11:43:44 +03:00
|
|
|
extra_instructions = ""
|
2023-07-15 09:30:50 +03:00
|
|
|
|
2023-08-21 09:07:21 +03:00
|
|
|
[pr_extendeted_code_suggestions] # /extended_improve #
|
|
|
|
num_code_suggestions_per_chunk=8
|
|
|
|
extra_instructions = ""
|
|
|
|
max_number_of_calls = 5
|
|
|
|
rank_suggestions = true
|
|
|
|
final_clip_factor = 0.5
|
|
|
|
|
|
|
|
|
2023-07-30 11:43:44 +03:00
|
|
|
[pr_update_changelog] # /update_changelog #
|
2023-07-26 20:03:22 +03:00
|
|
|
push_changelog_changes=false
|
2023-07-30 11:43:44 +03:00
|
|
|
extra_instructions = ""
|
2023-07-26 09:21:31 +03:00
|
|
|
|
2023-08-02 16:42:54 +03:00
|
|
|
[pr_config] # /config #
|
|
|
|
|
2023-07-11 16:55:09 +03:00
|
|
|
[github]
|
|
|
|
# The type of deployment to create. Valid values are 'app' or 'user'.
|
|
|
|
deployment_type = "user"
|
2023-07-25 15:23:40 +03:00
|
|
|
ratelimit_retries = 5
|
2023-07-11 16:55:09 +03:00
|
|
|
|
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
|
|
|
|
2023-07-11 16:55:09 +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
|
2023-07-11 16:55:09 +03:00
|
|
|
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"
|