Update default number of code suggestions per chunk from 4 to 3

This commit is contained in:
mrT23
2025-04-09 08:24:26 +03:00
parent cdc354c33b
commit 526d7ff5d2
4 changed files with 7 additions and 6 deletions

View File

@ -66,7 +66,8 @@ PR-Agent and Qodo Merge offers extensive pull request functionalities across var
| | [PR interactive actions](https://www.qodo.ai/images/pr_agent/pr-actions.mp4) 💎 | ✅ | ✅ | | |
| | [Impact Evaluation](https://qodo-merge-docs.qodo.ai/core-abilities/impact_evaluation/) 💎 | ✅ | ✅ | | |
💎 marks a feature available only in [Qodo Merge](https://www.codium.ai/pricing/){:target="_blank"}, and not in the open-source version.
!!! note "💎 means Qodo Merge only"
All along the documentation, 💎 marks a feature available only in [Qodo Merge](https://www.codium.ai/pricing/){:target="_blank"}, and not in the open-source version.
## Example Results

View File

@ -53,6 +53,6 @@ Results obtained with the prompt above:
- `prompt`: the prompt for the tool. It should be a multi-line string.
- `num_code_suggestions_per_chunk`: number of code suggestions provided by the 'custom_prompt' tool, per chunk. Default is 4.
- `num_code_suggestions_per_chunk`: number of code suggestions provided by the 'custom_prompt' tool, per chunk. Default is 3.
- `enable_help_text`: if set to true, the tool will display a help text in the comment. Default is true.

View File

@ -379,7 +379,7 @@ Qodo Merge uses a dynamic strategy to generate code suggestions based on the siz
- Each chunk contains up to `pr_code_suggestions.max_context_tokens` tokens (default: 14,000).
#### 2. Generating suggestions
- For each chunk, Qodo Merge generates up to `pr_code_suggestions.num_code_suggestions_per_chunk` suggestions (default: 4).
- For each chunk, Qodo Merge generates up to `pr_code_suggestions.num_code_suggestions_per_chunk` suggestions (default: 3).
This approach has two main benefits:
@ -456,7 +456,7 @@ Note: Chunking is primarily relevant for large PRs. For most PRs (up to 500 line
</tr>
<tr>
<td><b>num_code_suggestions_per_chunk</b></td>
<td>Number of code suggestions provided by the 'improve' tool, per chunk. Default is 4.</td>
<td>Number of code suggestions provided by the 'improve' tool, per chunk. Default is 3.</td>
</tr>
<tr>
<td><b>max_number_of_calls</b></td>

View File

@ -143,7 +143,7 @@ new_score_mechanism_th_high=9
new_score_mechanism_th_medium=7
# params for '/improve --extended' mode
auto_extended_mode=true
num_code_suggestions_per_chunk=4
num_code_suggestions_per_chunk=3
max_number_of_calls = 3
parallel_calls = true
@ -167,7 +167,7 @@ The code suggestions should focus only on the following:
...
"""
suggestions_score_threshold=0
num_code_suggestions_per_chunk=4
num_code_suggestions_per_chunk=3
self_reflect_on_custom_suggestions=true
enable_help_text=false