diff --git a/.pr_agent.toml b/.pr_agent.toml index 8b2ba45..052592f 100644 --- a/.pr_agent.toml +++ b/.pr_agent.toml @@ -4,7 +4,7 @@ ask_and_reflect = true automatic_review = true remove_previous_review_comment = true persistent_comment = true -extra_instructions = "" +extra_instructions = "Please ensure comments are concise and actionable." enable_review_labels_security = true enable_review_labels_effort = true require_all_thresholds_for_incremental_review = false @@ -15,10 +15,14 @@ enable_auto_approval = true maximal_review_effort = 5 [pr_code_suggestions] +num_code_suggestions = 5 summarize = true +auto_extended_mode = true +rank_suggestions = true +enable_help_text = false [pr_update_changelog] -push_changelog_changes=false +push_changelog_changes = false [github_action_config] auto_review = true @@ -29,13 +33,13 @@ auto_improve = true pr_commands = [ "/describe --pr_description.add_original_user_description=true --pr_description.keep_original_user_title=true", "/update_changelog --pr_update_changelog.push_changelog_changes=false", - "/improve --pr_code_suggestions.summarize=true", + "/improve --extended --pr_code_suggestions.summarize=true", "/review auto_approve --pr_reviewer.num_code_suggestions=0 --pr_reviewer.inline_code_comments=true", ] push_commands = [ "/describe --pr_description.add_original_user_description=true --pr_description.keep_original_user_title=true", "/update_changelog --pr_update_changelog.push_changelog_changes=false", - "/improve --pr_code_suggestions.summarize=true", + "/improve --extended --pr_code_suggestions.summarize=true", """/auto_review -i \ --pr_reviewer.require_focused_review=false \ --pr_reviewer.require_score_review=false \ @@ -51,3 +55,4 @@ push_commands = [ """, "/review auto_approve --pr_reviewer.num_code_suggestions=0 --pr_reviewer.inline_code_comments=true" ] +handle_push_trigger = true \ No newline at end of file