diff --git a/README.md b/README.md index 79c75520..02e9b884 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,18 @@ CodiumAI PR-Agent aims to help efficiently review and handle pull requests, by p ## News and Updates +### June 6, 2024 + +New option now available (💎) - **apply suggestions**: + + + +→ + + + + + ### May 31, 2024 Check out the new [**PR-Agent Code Fine-tuning Benchmark**](https://pr-agent-docs.codium.ai/finetuning_benchmark/) @@ -56,10 +68,6 @@ We released a new version of [PR-Agent Chrome extension](https://chromewebstore. See more [here](https://www.youtube.com/watch?v=v9bJ1frtPcg) -### May 21, 2024 -Check out CodiumAI new project, [**Cover-Agent**](https://github.com/Codium-ai/cover-agent), that can automatically generate qualified tests to enhance existing test suites, aiming to increase code and behavior coverage efficiently. - - ## Overview
diff --git a/docs/docs/tools/improve.md b/docs/docs/tools/improve.md index bf27b17e..21ea6058 100644 --- a/docs/docs/tools/improve.md +++ b/docs/docs/tools/improve.md @@ -94,6 +94,10 @@ Hence, the total number of suggestions is proportional to the number of chunks, suggestions_score_threshold Any suggestion with importance score less than this threshold will be removed. Default is 0. Highly recommend not to set this value above 7-8, since above it may clip relevant suggestions that can be useful. + + apply_suggestions_checkbox + Enable the checkbox to create a committable suggestion. Default is true. + enable_help_text If set to true, the tool will display a help text in the comment. Default is true. diff --git a/pr_agent/settings/configuration.toml b/pr_agent/settings/configuration.toml index a3d6c6f9..5051ee06 100644 --- a/pr_agent/settings/configuration.toml +++ b/pr_agent/settings/configuration.toml @@ -88,6 +88,8 @@ extra_instructions = "" rank_suggestions = false enable_help_text=false persistent_comment=false +# enable to apply suggestion 💎 +apply_suggestions_checkbox=true # suggestions scoring self_reflect_on_suggestions=true suggestions_score_threshold=0 # [0-10]. highly recommend not to set this value above 8, since above it may clip highly relevant suggestions