Commit graph

140 commits

Author SHA1 Message Date
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
mrT23
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
mrT23
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
mrT23
c2c69f2950
No code suggestions found for PR. 2024-07-28 09:32:54 +03:00
mrT23
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
mrT23
034ec8f53a
provider 2024-07-11 18:37:37 +03:00
mrT23
4b351cfe38
AzureDevopsProvider 2024-07-11 18:24:40 +03:00
mrT23
734a027702
azure fix 2024-07-11 18:21:21 +03:00
mrT23
f76f750757
best_practices 2024-07-09 07:49:30 +03:00
mrT23
be18152446
refresh 2024-07-05 17:11:13 +03:00
mrT23
7fc41409d4
refresh 2024-07-05 16:51:35 +03:00
mrT23
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
mrT23
e30c70d2ca
keys fallback 2024-07-03 20:29:17 +03:00
Hussam.lawen
23e6abcdce
new line 2024-07-03 17:09:50 +03:00
Hussam.lawen
a228ea8109
fix capitalize 2024-07-03 17:04:01 +03:00
Hussam.lawen
0c3940b6a7
persistent release notes 2024-07-03 16:38:13 +03:00
mrT23
4c444f5c9a
fixes 2024-06-28 08:09:52 +03:00
mrT23
e5aae0d14f
fixes 2024-06-28 08:04:35 +03:00
mrT23
b1d07be728
s 2024-06-26 20:33:45 +03:00
mrT23
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
mrT23
025a14014a
Add context-aware git provider retrieval and refactor related functions 2024-06-19 09:36:37 +03:00
mrT23
bc09330a44
Add self-review checkbox functionality to improve tool and update documentation 2024-06-17 20:26:09 +03:00
mrT23
2880e48860
Refactor model selection logic for PR tools and update turbo model to gpt-4o 2024-05-19 12:29:06 +03:00
mrT23
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
mrT23
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
mrT23
f3eb74d718
Refactor pr_code_suggestions logic and update prompts for clarity and consistency 2024-05-13 18:18:17 +03:00
mrT23
b0aac4ec5d
Refactor pr_code_suggestions logic and update prompts for clarity and consistency 2024-05-13 18:13:37 +03:00
mrT23
95c7b3f55c
Refactor pr_code_suggestions logic and update prompts for clarity and consistency 2024-05-13 18:03:13 +03:00
mrT23
fbacc7c765
artifact 2024-05-13 09:19:08 +03:00
mrT23
61ba015a55
artifact 2024-05-12 16:22:40 +03:00
mrT23
4f6490b17c
Integrate self-reflection feature in PR-Agent, enhancing code suggestions with scoring and sorting, and update documentation accordingly 2024-05-12 16:17:47 +03:00
mrT23
d348cffbae
Enhance error handling and logging in pr_code_suggestions with default scores and contextualized self_reflection 2024-05-12 15:52:59 +03:00
mrT23
c04ab933cd
s 2024-05-12 15:04:36 +03:00
mrT23
a55fa753b9
s 2024-05-12 14:54:35 +03:00
mrT23
8e0435d9a0
s 2024-05-12 14:40:25 +03:00
mrT23
39c0733d6f
s 2024-05-12 14:00:30 +03:00
mrT23
a588e9f2bb
s 2024-05-12 13:55:12 +03:00
mrT23
1ebc20b761
self_reflect 2024-05-12 13:49:28 +03:00
mrT23
34ad5f2aa2
toolbar emojis in pr-agent feedbacks 2024-05-05 13:33:54 +03:00
mrT23
b076c33351
commitable_code_suggestions 2024-04-17 15:32:45 +03:00