Commit Graph

150 Commits

Author SHA1 Message Date
bccc2844b9 dual publishing mode 2024-10-01 08:32:29 +03:00
da0bd84746 dual 2024-10-01 08:20:16 +03:00
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
8bdebcb99f Enable intro and chat text for PR code suggestions in configuration 2024-09-26 17:11:00 +03:00
89f9cf5adc Add intro and chat text options for PR code suggestions in configuration 2024-09-26 09:07:51 +03:00
6f14f9c8e1 improve code suggestion prompt 2024-09-25 16:22:16 +03:00
0198c61cf7 update docs 2024-09-22 09:00:56 +03:00
08319f8492 fixed azure remove comment bug 2024-09-19 12:54:26 +03:00
86103c65e8 pattern_back 2024-09-08 17:24:13 +03:00
8706f643ef enable ai_metadata 2024-09-08 16:26:26 +03:00
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
d9571ee7cb checking for publish_output in the suggestions tool exception handler 2024-08-28 00:41:56 -04:00
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
a6f772c6d5 Refactor comment deletion method to 'remove_comment' in git providers and update references 2024-08-18 08:19:25 +03:00
ba1ba98dec Add logging for empty PR files and code suggestions status in pr_code_suggestions.py 2024-08-18 08:17:25 +03:00
8414e109c5 Update logging levels and add error handling for empty data in PR tools and providers 2024-08-14 08:02:34 +03:00
38638bd1c4 relevant_lines_start > len(file_lines): 2024-08-13 12:59:51 +03:00
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
8a768aa7fd Lower log level for missing code suggestions from error to warning 2024-08-12 18:41:24 +03:00
e238a88824 Add tests for patch extension and update configuration for extra lines handling
- Added unit tests in `test_extend_patch.py` and `test_pr_generate_extended_diff.py` to verify patch extension functionality with extra lines.
- Updated `pr_processing.py` to include `patch_extra_lines_before` and `patch_extra_lines_after` settings.
- Modified `configuration.toml` to adjust `patch_extra_lines_before` to 4 and `max_context_tokens` to 16000.
- Enabled extra lines in `pr_code_suggestions.py`.
- Added new model `claude-3-5-sonnet` to `__init__.py`.
2024-08-11 09:21:34 +03:00
cb10ceadd7 Escape HTML tags in suggestion summaries in pr_code_suggestions.py and update pr_code_suggestions_prompts.toml for backtick usage 2024-08-06 12:16:58 +03:00
c2c69f2950 No code suggestions found for PR. 2024-07-28 09:32:54 +03:00
ac247dbc2c Add end-to-end tests for GitHub, GitLab, and Bitbucket apps; update temperature setting usage across tools 2024-07-27 17:19:32 +03:00
034ec8f53a provider 2024-07-11 18:37:37 +03:00
4b351cfe38 AzureDevopsProvider 2024-07-11 18:24:40 +03:00
734a027702 azure fix 2024-07-11 18:21:21 +03:00
f76f750757 best_practices 2024-07-09 07:49:30 +03:00
be18152446 refresh 2024-07-05 17:11:13 +03:00
7fc41409d4 refresh 2024-07-05 16:51:35 +03:00
f3c80891f8 sonnet-3.5 2024-07-04 12:23:36 +03:00
Tal
1f5c3a4c0f Merge pull request #1020 from Codium-ai/tr/fallbacks
Tr/fallbacks
2024-07-04 12:12:39 +03:00
e30c70d2ca keys fallback 2024-07-03 20:29:17 +03:00
23e6abcdce new line 2024-07-03 17:09:50 +03:00
a228ea8109 fix capitalize 2024-07-03 17:04:01 +03:00
0c3940b6a7 persistent release notes 2024-07-03 16:38:13 +03:00
4c444f5c9a fixes 2024-06-28 08:09:52 +03:00
e5aae0d14f fixes 2024-06-28 08:04:35 +03:00
b1d07be728 s 2024-06-26 20:33:45 +03:00
9034e18772 Add is_auto_command config check to conditionally publish output and update GitHub App to set this flag 2024-06-19 11:51:10 +03:00
025a14014a Add context-aware git provider retrieval and refactor related functions 2024-06-19 09:36:37 +03:00
bc09330a44 Add self-review checkbox functionality to improve tool and update documentation 2024-06-17 20:26:09 +03:00
2880e48860 Refactor model selection logic for PR tools and update turbo model to gpt-4o 2024-05-19 12:29:06 +03:00
ea4ee1adbc Add show_relevant_configurations function and integrate it across tools to output relevant configurations if enabled 2024-05-18 13:09:50 +03:00
cc08394e51 Refine field descriptions in pr_code_suggestions_prompts.toml and comment out default scoring error log in pr_code_suggestions.py 2024-05-16 21:49:06 +03:00
f3eb74d718 Refactor pr_code_suggestions logic and update prompts for clarity and consistency 2024-05-13 18:18:17 +03:00
b0aac4ec5d Refactor pr_code_suggestions logic and update prompts for clarity and consistency 2024-05-13 18:13:37 +03:00
95c7b3f55c Refactor pr_code_suggestions logic and update prompts for clarity and consistency 2024-05-13 18:03:13 +03:00
fbacc7c765 artifact 2024-05-13 09:19:08 +03:00
61ba015a55 artifact 2024-05-12 16:22:40 +03:00