From 577ee0241d36ee2afcac80b55276efd02e1976a4 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Mon, 18 Nov 2024 16:35:23 +0200 Subject: [PATCH] Enable focus_only_on_problems mode by default in configuration and update README.md --- README.md | 11 ++++++----- pr_agent/settings/configuration.toml | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 02d06ca0..94327a4f 100644 --- a/README.md +++ b/README.md @@ -43,14 +43,15 @@ Qode Merge PR-Agent aims to help efficiently review and handle pull requests, by ## News and Updates -### November 7, 2024 +### November 18, 2024 -Added new option: `--pr_code_suggestions.focus_only_on_problems=true` +A new mode was enabled by default for code suggestions - `--pr_code_suggestions.focus_only_on_problems=true`: -When enabled, this option reduces the number of code suggestions and categorizes them into just two groups: "Possible Issues" and "General". The suggestions will focus primarily on identifying and fixing code problems, rather than style considerations like best practices, maintainability, or readability. - -This mode is ideal for developers who want to concentrate specifically on finding and fixing potential bugs in their pull request code. +- This option reduces the number of code suggestions received +- The suggestions will focus more on identifying and fixing code problems, rather than style considerations like best practices, maintainability, or readability. +- The suggestions will be categorized into just two groups: "Possible Issues" and "General". +Still, if you prefer the previous mode, you can set `--pr_code_suggestions.focus_only_on_problems=false` in the [configuration file](https://qodo-merge-docs.qodo.ai/usage-guide/configuration_options/). **Example results:** diff --git a/pr_agent/settings/configuration.toml b/pr_agent/settings/configuration.toml index 97d8d363..4d31f9b2 100644 --- a/pr_agent/settings/configuration.toml +++ b/pr_agent/settings/configuration.toml @@ -111,7 +111,7 @@ max_context_tokens=16000 # commitable_code_suggestions = false dual_publishing_score_threshold=-1 # -1 to disable, [0-10] to set the threshold (>=) for publishing a code suggestion both in a table and as commitable -focus_only_on_problems=false +focus_only_on_problems=true # extra_instructions = "" rank_suggestions = false