diff --git a/docs/docs/usage-guide/automations_and_usage.md b/docs/docs/usage-guide/automations_and_usage.md index f72afe9e..f8d55409 100644 --- a/docs/docs/usage-guide/automations_and_usage.md +++ b/docs/docs/usage-guide/automations_and_usage.md @@ -182,9 +182,11 @@ Specifically, set the following values: [bitbucket_app] pr_commands = [ "/review --pr_reviewer.num_code_suggestions=0", - "/improve --pr_code_suggestions.commitable_code_suggestions=true", + "/improve --pr_code_suggestions.commitable_code_suggestions=true --pr_code_suggestions.suggestions_score_threshold=7", ] ``` +Note that we set specifically for bitbucket, we recommend using: `--pr_code_suggestions.suggestions_score_threshold=7` and that is the default value we set for bitbucket. +Since this platform only supports inline code suggestions, we want to limit the number of suggestions, and only present a limited number. ## Azure DevOps provider diff --git a/pr_agent/settings/configuration.toml b/pr_agent/settings/configuration.toml index 74dcc142..da15c752 100644 --- a/pr_agent/settings/configuration.toml +++ b/pr_agent/settings/configuration.toml @@ -194,7 +194,7 @@ push_commands = [ [bitbucket_app] pr_commands = [ "/review --pr_reviewer.num_code_suggestions=0", - "/improve --pr_code_suggestions.commitable_code_suggestions=true", + "/improve --pr_code_suggestions.commitable_code_suggestions=true --pr_code_suggestions.suggestions_score_threshold=7", ]