committable checbox (#951)

* Add "apply suggestions" feature to README, improve.md, and configuration.toml
This commit is contained in:
Tal
2024-06-06 18:04:40 +03:00
committed by GitHub
parent 2e535e42ee
commit 12b0df4608
3 changed files with 18 additions and 4 deletions

View File

@ -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**:
<kbd><img src="https://www.codium.ai/images/pr_agent/apply_suggestion_1.png" width="512"></kbd>
&rarr;
<kbd><img src="https://www.codium.ai/images/pr_agent/apply_suggestion_2.png" width="512"></kbd>
### 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
<div style="text-align:left;">

View File

@ -94,6 +94,10 @@ Hence, the total number of suggestions is proportional to the number of chunks,
<td><b>suggestions_score_threshold</b></td>
<td> 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. </td>
</tr>
<tr>
<td><b>apply_suggestions_checkbox</b></td>
<td> Enable the checkbox to create a committable suggestion. Default is true.</td>
</tr>
<tr>
<td><b>enable_help_text</b></td>
<td>If set to true, the tool will display a help text in the comment. Default is true.</td>

View File

@ -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