Commit graph

180 commits

Author SHA1 Message Date
diana-jung
7b9e8bff3b
chore: Recover the original inline code logic 2025-11-26 18:07:25 +09:00
diana-jung
d80e229bdf
implementation: Remove the duplicate filtering logic
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-11-26 18:04:09 +09:00
diana-jung
1315fa651b
Fix: decouple inline and table suggestion filtering logic
- **Refactor `run` method in `PRCodeSuggestions`**:
  - Pre-filter suggestions based on `suggestions_score_threshold` early in the process to prevent publishing low-score suggestions in any mode.
  - Separate inline and table publishing logic for better clarity and control.
  - Ensure dual publishing mode correctly displays all valid suggestions inline while filtering the summary table based on `dual_publishing_score_threshold`.
  - Fix potential issue where the progress bar or "no suggestions" message could be mishandled when no high-score suggestions exist for the table.

- **Update `push_inline_code_suggestions`**:
  - Re-verify score threshold within the function to ensure robust filtering (though pre-filtering in `run` handles this primarily now).
2025-11-26 16:56:32 +09:00
diana-jung
ab808fd114
fix: Apply suggestions_score_threshold filter to inline code suggestions in dual publishing mode
- Added score filtering to push_inline_code_suggestions
- Ensured inline suggestions are properly filtered when dual publishing is enabled
- High-importance suggestions appear in both table and inline; others only inline
2025-11-26 14:38:29 +09:00
mrT23
ae4fc71603
feat: update max context tokens configuration and improve documentation 2025-08-27 15:20:10 +03:00
tomoya-kawaguchi
d01a7daaa7 fix: add temperature arg to self reflect of improve 2025-08-13 12:30:48 +09:00
mrT23
f7efa2c7c7
fix: improve indentation handling in code suggestions 2025-07-01 17:10:01 +03:00
Thomas De Keulenaer
c924affebc Azure devops provider: add persistent comment 2025-05-12 08:31:15 +02:00
mrT23
f505c7ad3c
Add multi-model support for different reasoning tasks 2025-04-27 11:00:34 +03:00
mrT23
f53bd524c5
Support multiple model types for different reasoning tasks 2025-04-27 08:50:03 +03:00
mrT23
ddf94c14a3
Add configuration option for PR Code Suggestions to control publishing when no suggestions found 2025-03-29 09:33:31 +03:00
mrT23
d16012a568
Add decoupled and non-decoupled modes for code suggestions 2025-03-11 16:46:53 +02:00
mrT23
4c0e371238
fix: validate one-liner suggestions to prevent repeating existing code 2025-03-06 08:18:52 +02:00
mrT23
69f19f1abd
feat: improve code suggestions impact levels with configurable thresholds 2025-02-05 09:41:01 +02:00
mrT23
400146985a
feat: improve code suggestions table with impact levels and styling 2025-02-05 09:31:32 +02:00
mrT23
a74fca7b7d
fix: refine code suggestions prompts and avoid package-related comments 2025-01-08 17:42:07 +02:00
mrT23
a1a7c8e44c
feat: add example output duplication option for code suggestions prompts 2025-01-02 12:46:50 +02:00
mrT23
31aa460f5f
fix: only publish empty code suggestions when configured 2024-12-22 09:32:11 +02:00
Tal
cb88489dbe
Merge pull request #1387 from KennyDizi/main
Introduce to weak model
2024-12-11 17:36:18 +02:00
mrT23
d34edb83ff
feat: add thumbs up/down support and refactor code suggestions handling 2024-12-11 13:03:43 +02:00
Trung Dinh
936894e4d1 Use regular model for pr review and code suggestion flows 2024-12-08 21:51:09 +07:00
mrT23
43e91b0df7
feat: add health test for PR agent commands and improve output handling 2024-12-08 11:27:43 +02:00
mrT23
065777040f
Improve PR file content retrieval and logging verbosity handling 2024-11-12 08:06:02 +02:00
Tal
5c5a3e267c
Merge branch 'main' into introduce-pre-commit 2024-11-08 09:54:21 +02:00
mrT23
d2663f959a
Add focus_only_on_problems setting for targeted code suggestions 2024-11-06 21:22:58 +02:00
Tal
fa49dd5167
Merge branch 'main' into nocode_suggestions_config 2024-11-04 07:50:22 +02:00
mrT23
ef3241285d
Add support for processing diffs without line numbers in code suggestions tool 2024-11-03 17:34:30 +02:00
Pratul Sanwal
443d06df06 Add configuration option to control publish of no code suggestions message 2024-11-01 15:38:16 -04:00
Hussam.lawen
6b64924355
switch the order of when to disable the existing code, to make sure reflection see's the full suggestion (before and after) 2024-10-30 17:09:44 +02:00
Yu Ishikawa
81dea65856 Format files by pre-commit run -a
Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>
2024-10-30 10:00:36 +09:00
mrT23
bccc2844b9
dual publishing mode 2024-10-01 08:32:29 +03:00
mrT23
da0bd84746
dual 2024-10-01 08:20:16 +03:00
mrT23
dfa4f22be2
feat: add dual publishing mode for PR code suggestions
- Introduced dual publishing mode to present high-scoring suggestions as both table entries and commitable PR comments.
- Updated documentation to include configuration options for dual publishing mode.
- Enhanced `pr_code_suggestions.py` to handle dual publishing logic and error handling.
- Modified `configuration.toml` to include `duel_publishing_score_threshold` setting.
2024-10-01 08:01:27 +03:00
mrT23
8bdebcb99f
Enable intro and chat text for PR code suggestions in configuration 2024-09-26 17:11:00 +03:00
mrT23
89f9cf5adc
Add intro and chat text options for PR code suggestions in configuration 2024-09-26 09:07:51 +03:00
mrT23
6f14f9c8e1
improve code suggestion prompt 2024-09-25 16:22:16 +03:00
mrT23
0198c61cf7
update docs 2024-09-22 09:00:56 +03:00
mrT23
08319f8492
fixed azure remove comment bug 2024-09-19 12:54:26 +03:00
mrT23
86103c65e8
pattern_back 2024-09-08 17:24:13 +03:00
mrT23
8706f643ef
enable ai_metadata 2024-09-08 16:26:26 +03:00
mrT23
9e063bf48a
fix: handle missing score in code suggestions and adjust indentation in pr_code_suggestions.py 2024-09-01 08:47:23 +03:00
=
1c51b5b762 Fixing code suggestions being published if there are no code suggestions when publish output is false 2024-08-30 09:12:22 -04:00
mhoecke1
d9571ee7cb checking for publish_output in the suggestions tool exception handler 2024-08-28 00:41:56 -04:00
mrT23
2591a5d6c1
patch_extension_skip_types
Add validation for latest_comment and cast suggestions_score_threshold to int
2024-08-20 12:11:34 +03:00
mrT23
a6f772c6d5
Refactor comment deletion method to 'remove_comment' in git providers and update references 2024-08-18 08:19:25 +03:00
mrT23
ba1ba98dec
Add logging for empty PR files and code suggestions status in pr_code_suggestions.py 2024-08-18 08:17:25 +03:00
mrT23
8414e109c5
Update logging levels and add error handling for empty data in PR tools and providers 2024-08-14 08:02:34 +03:00
mrT23
38638bd1c4
relevant_lines_start > len(file_lines): 2024-08-13 12:59:51 +03:00
mrT23
26f3bd8900
Add error handling for out-of-range relevant_lines_start and missing head_file in pr_code_suggestions.py 2024-08-13 12:57:31 +03:00
mrT23
8a768aa7fd
Lower log level for missing code suggestions from error to warning 2024-08-12 18:41:24 +03:00