mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 04:40:38 +08:00
committable checbox (#951)
* Add "apply suggestions" feature to README, improve.md, and configuration.toml
This commit is contained in:
16
README.md
16
README.md
@ -42,6 +42,18 @@ CodiumAI PR-Agent aims to help efficiently review and handle pull requests, by p
|
|||||||
|
|
||||||
## News and Updates
|
## 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>
|
||||||
|
|
||||||
|
→
|
||||||
|
|
||||||
|
<kbd><img src="https://www.codium.ai/images/pr_agent/apply_suggestion_2.png" width="512"></kbd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### May 31, 2024
|
### May 31, 2024
|
||||||
|
|
||||||
Check out the new [**PR-Agent Code Fine-tuning Benchmark**](https://pr-agent-docs.codium.ai/finetuning_benchmark/)
|
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)
|
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
|
## Overview
|
||||||
<div style="text-align:left;">
|
<div style="text-align:left;">
|
||||||
|
|
||||||
|
@ -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><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>
|
<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>
|
||||||
|
<tr>
|
||||||
|
<td><b>apply_suggestions_checkbox</b></td>
|
||||||
|
<td> Enable the checkbox to create a committable suggestion. Default is true.</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>enable_help_text</b></td>
|
<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>
|
<td>If set to true, the tool will display a help text in the comment. Default is true.</td>
|
||||||
|
@ -88,6 +88,8 @@ extra_instructions = ""
|
|||||||
rank_suggestions = false
|
rank_suggestions = false
|
||||||
enable_help_text=false
|
enable_help_text=false
|
||||||
persistent_comment=false
|
persistent_comment=false
|
||||||
|
# enable to apply suggestion 💎
|
||||||
|
apply_suggestions_checkbox=true
|
||||||
# suggestions scoring
|
# suggestions scoring
|
||||||
self_reflect_on_suggestions=true
|
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
|
suggestions_score_threshold=0 # [0-10]. highly recommend not to set this value above 8, since above it may clip highly relevant suggestions
|
||||||
|
Reference in New Issue
Block a user