Commit graph

1832 commits

Author SHA1 Message Date
Tal
b02fa22948
Merge pull request #1198 from Codium-ai/tr/polling
Tr/polling
2024-09-05 19:58:51 +03:00
mrT23
85754d2d79
feat: enhance GitHub polling with synchronous comment processing and improved logging 2024-09-05 16:57:10 +03:00
mrT23
f0d780c7ec
feat: enhance GitHub polling with synchronous comment processing and improved logging 2024-09-05 16:55:10 +03:00
mrT23
19048ee705
feat: enhance GitHub polling with synchronous comment processing and improved logging 2024-09-05 16:53:31 +03:00
mrT23
b8d2b263b9
feat: enhance GitHub polling with synchronous comment processing and improved logging and bug fixing 2024-09-05 16:52:47 +03:00
proDOOMman
be75bb6a16
Add 1C Enterprise language 2024-09-04 09:04:39 +03:00
Tal
d4d9a7f8b4
Merge pull request #1172 from MaxHoecker/bugfix/bb-2-way-diff-fix
Bugfix/bb 2 way diff fix
2024-09-03 16:24:42 +03:00
Paolo Mainardi
2f7f60a469
fix: review standardize regex checking 2024-09-02 16:31:19 +02:00
Paolo Mainardi
adce35765b
feat: implement skip branches for github, add ignore title to gitlab 2024-09-02 16:26:50 +02: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
mrT23
5432469ef6
fix: ensure non-empty lines are processed correctly in git patch handling 2024-09-01 08:39:29 +03:00
mrT23
2c496b9d4e
fix: improve PR patch decoding and clean up Bitbucket provider code
- Add fallback encodings for PR patch decoding to handle non-UTF-8 encodings.
- Update logging messages for better clarity.
- Remove unnecessary blank lines and fix minor formatting issues.
- Ensure full files are retrieved in `get_diff_files` method.
2024-09-01 08:38:26 +03:00
Tal
5ac41dddd6
Merge pull request #1191 from AHancher2022/bugfix/fix-output-publishing-when-set-to-false
Fixing code suggestions being published when publish ouput is false
2024-08-31 16:35:09 +03:00
Tal
9df554ed1c
Merge pull request #1185 from jozefvodicka/patch-1
Update pr_update_changelog.py to include "[skip ci]" so pipeline is n…
2024-08-31 16:33:18 +03:00
Paolo Mainardi
23af1afa03
feat: gitlab skip source, target and labels 2024-08-30 17:01:18 +02:00
Paolo Mainardi
fdcbdfce98
feat: gitlab skip source, target and labels 2024-08-30 16:40:23 +02:00
mhoecke1
cf14e45674 further cleaned up code based on feedback 2024-08-30 10:10:39 -04: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
woung717
578d7c69f8
fix: change deprecated timeout parameter for litellm 2024-08-29 21:45:48 +09:00
mhoecke1
29c50758bc implementing more feedback, choosing a different Bitbucket diff strategy depending on API version, and expanded unit test cases 2024-08-28 17:13:36 -04:00
Tal
97b48da03b
Merge pull request #1184 from MaxHoecker/bugfix/suggestions_error_publish
checking for publish_output in the suggestions tool exception handler
2024-08-28 20:35:05 +03:00
Jozef Vodicka
4203ee4ca8
Update pr_update_changelog.py to include "[skip ci]" so pipeline is not triggered 2024-08-28 12:08:39 +02:00
Tal
84dc976ebb
Merge pull request #1163 from MarkRx/bugfix/asyncio-task-completion
Ensure asyncio event queue is drained prior to CLI termination
2024-08-28 07:54:37 +03:00
mhoecke1
d9571ee7cb checking for publish_output in the suggestions tool exception handler 2024-08-28 00:41:56 -04:00
mrT23
c2f52539aa
fix: handle deleted files in git patch processing and update section header logic 2024-08-27 09:31:31 +03:00
mhoecke1
0442cdcd3d adding config value for old Bitbucket Server diff functionality 2024-08-26 16:07:21 -04:00
MarkRx
93773f3c08 Ensure asyncio event queue is drained prior to CLI termination 2024-08-26 15:14:45 -04:00
Paolo Mainardi
c9ed271eaf
feat: keep manual comments working when commenting draft MRs
closes #1160
2024-08-26 14:50:43 +02:00
mrT23
abf2f68c61
fix: update description for pr_files field in PRDescription class in pr_description_prompts.toml 2024-08-25 12:02:14 +03:00
mrT23
441e098e2a
fix: correct YAML formatting in response text processing in utils.py 2024-08-25 11:26:48 +03:00
mrT23
b9d096187a
fix: skip processing comments without a body in GitHub polling server 2024-08-25 07:21:40 +03:00
Tal
dae87d7da8
Merge pull request #1170 from Codium-ai/tr/avoid_repeating_pr_changes
Update PR code suggestions prompts
2024-08-25 07:17:47 +03:00
mhoecke1
a99ebf8953 implementing PR bot feedback 2024-08-23 11:18:42 -04:00
mhoecke1
2a9e3ee1ef removing unnecessary if check 2024-08-23 10:57:58 -04:00
mhoecke1
2beefab89a BB server 2 way diff fixes 2024-08-23 10:47:27 -04:00
mrT23
415f44d763
type 2024-08-23 11:27:50 +03:00
mrT23
8fb9b8ed3e
Update PR code suggestions prompts to avoid repeating changes already present in the PR 2024-08-23 11:22:55 +03:00
Paolo Mainardi
3778cc2745
feat: skip draft by default 2024-08-22 21:59:01 +02:00
Paolo Mainardi
8793f8d9b0
Update gitlab_webhook.py 2024-08-22 21:14:49 +02:00
Paolo Mainardi
61837c69a3
Update gitlab_webhook.py 2024-08-22 21:13:54 +02:00
Paolo Mainardi
ffaf5d5271
feat: Handle the gitlab MR draft status
closes #1160
2024-08-22 17:29:39 +02:00
Tal
745e955d1f
Merge pull request #1145 from MarkRx/feature/litellm-logging-observability
Add and document abilty to use LiteLLM Logging Observability tools
2024-08-22 09:58:53 +03: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
d467f5a7fd
patch_extension_skip_types 2024-08-20 11:37:27 +03:00
mrT23
2d5b060168
patch_extension_skip_types 2024-08-20 11:33:56 +03:00
mrT23
b7eb6be5a0
Update PR code suggestions and reviewer prompts for clarity and consistency 2024-08-20 11:27:35 +03:00
mrT23
df57367426
Update configuration.toml to modify fallback models and add skip types for patch extension logic 2024-08-20 11:24:52 +03:00
mrT23
660a60924e
Add filename parameter and skip logic to extend_patch function in git_patch_processing.py 2024-08-20 11:23:37 +03:00
MarkRx
8aa76a0ac5 Add and document abilty to use LiteLLM Logging Observability tools 2024-08-19 15:45:47 -04:00
Tal
9bec97c66c
Merge pull request #1156 from Codium-ai/tr/dynamic_context
Tr/dynamic context
2024-08-19 14:01:42 +03:00
mrT23
fc40ca9196
Refactor dynamic context handling in git patch processing and update configuration default 2024-08-19 08:38:26 +03:00
mrT23
e9535ea164
Add dynamic context handling in git patch processing
- Introduce `allow_dynamic_context` and `max_extra_lines_before_dynamic_context` settings.
- Adjust context limits dynamically based on section headers.
- Add logging for dynamic context adjustments and section header findings.
2024-08-18 17:45:18 +03:00
trung.dinh@zoi.tech
dc8a4be2d4 Add new line for a better visually 2024-08-18 20:38:00 +07:00
trung.dinh@zoi.tech
f9de8f283b Improve variable consistency in prompt rendering for pr generate labels flow 2024-08-18 20:30:10 +07:00
trung.dinh@zoi.tech
bd5c19ee05 Improve variable consistency in prompt rendering for pr description flow 2024-08-18 20:29:59 +07:00
mrT23
48cc2f6833
Limit comment body length and adjust logging levels in GitHub provider 2024-08-18 08:26:01 +03:00
mrT23
229d7b34c7
Limit comment body length and adjust logging levels in GitHub provider 2024-08-18 08:24:27 +03:00
mrT23
03b194c337
Add null and type checks for 'pr_files' in _prepare_file_labels method in pr_description.py 2024-08-18 08:21:32 +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
5954c7cec2
Add logging for empty PR files and update warning for empty diffs in pr_reviewer.py 2024-08-18 08:14:37 +03:00
mrT23
dc1a8e8314
Add detailed logging and error handling in GitHub polling server
- Introduce traceback logging for exceptions during notification processing.
- Enhance logging for PR comments with additional artifact information.
- Update configuration settings for publishing PR descriptions as comments.
2024-08-18 08:13:40 +03:00
mrT23
aa87bc60f6
Rename 'add_callbacks' to 'add_litellm_callbacks' for clarity in litellm_ai_handler 2024-08-17 09:20:30 +03:00
mrT23
c76aabc71e
Add callback functionality to litellm_ai_handler for enhanced logging and metadata capture 2024-08-17 09:15:05 +03:00
mrT23
4a71ec90c6
Add null check for 'suggestion' in publish_code_suggestions method in gitlab_provider.py 2024-08-16 09:04:45 +03:00
mrT23
3456c8e039
Add 'original_suggestion' parameter to publish_inline_comment methods across git providers for enhanced inline comment handling 2024-08-16 08:58:51 +03:00
Tal
b9df034c97
Merge pull request #1138 from Codium-ai/tr/err_protections
Add 'only_markdown' parameter to emphasize_header call in utils.py fo…
2024-08-14 14:03:43 +03:00
mrT23
bae8d36698
Add 'only_markdown' parameter to emphasize_header call in utils.py for security concerns section 2024-08-14 14:02:09 +03:00
Hussam.lawen
4fea780b9b
fix html escaping 2024-08-14 12:13:51 +03:00
Tal
01c18d7d98
Merge pull request #1134 from Codium-ai/tr/err_protections
Tr/err protections
2024-08-14 08:17:19 +03:00
mrT23
f4b06640d2
Add info log for successful AI prediction parse in utils.py 2024-08-14 08:14:51 +03:00
mrT23
f1981092d3
Add warning log for initial AI prediction parse failure and error log for fallback failure in utils.py 2024-08-14 08:08:55 +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
8adfca5b3c
Add error handling for short diffs and improve logging in Bitbucket provider 2024-08-14 07:54:11 +03:00
Tal
672cdc03ab
Merge pull request #1133 from Codium-ai/tr/err_protections
Add error handling for empty diff files in utils.py and optimize file…
2024-08-13 22:36:00 +03:00
mrT23
86a9cfedc8
Add error handling for empty diff files in utils.py and optimize file content retrieval in Bitbucket provider 2024-08-13 22:33:07 +03:00
Tal
7ac9f27b70
Merge pull request #1132 from Codium-ai/tr/err_protections
Add error handling for missing GitLab URL and improve inline comment …
2024-08-13 19:05:00 +03:00
mrT23
a3b3d6c77a
Add error handling for missing GitLab URL and improve inline comment logic in gitlab_provider.py 2024-08-13 19:00:09 +03:00
Stephen Quinn
2e41701d07 fixes 2024-08-13 16:21:46 +01:00
Stephen Quinn
578f56148a
Merge branch 'Codium-ai:main' into main 2024-08-13 16:04:55 +01:00
mrT23
f89bdcf3c3
Add error handling for missing custom label settings in utils.py 2024-08-13 16:40:05 +03:00
mrT23
e7e3970874
Add error handling for empty system prompt in litellm_ai_handler and type conversion in utils.py 2024-08-13 16:26:32 +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
a2fb415c53
Add git_files attribute to Bitbucket provider class for enhanced file handling 2024-08-13 12:39:45 +03:00
mrT23
8038eaf876
Add error handling for missing required fields in file label dictionary in pr_description.py 2024-08-13 12:16:52 +03:00
mrT23
78b11c80c7
Add error handling for empty secrets in GitLab webhook and lower log level for Google Cloud Storage secret retrieval errors 2024-08-13 11:42:07 +03:00
mrT23
cb65b05e85
Add error handling for missing username fields in Bitbucket webhook handler and update log context 2024-08-13 11:33:19 +03:00
mrT23
1aa6dd9b5d
Add error handling for missing file paths in Bitbucket provider and improve file validation logic 2024-08-13 11:28:21 +03:00
Stephen Quinn
11d69e05aa fix git provider 2024-08-13 09:25:59 +01:00
mrT23
5252e1826d
Add handling for empty diffs in Bitbucket provider to avoid logging errors 2024-08-13 09:45:45 +03:00
mrT23
396d11aa45
Improve logging and diff filtering in Bitbucket provider
- Enhance logging to include both kept and filtered file names
- Add conditional check to filter diff elements based on original and current diffs
2024-08-13 08:59:45 +03:00
mrT23
4a38861d06
Add error handling for missing file paths in file_filter.py for Bitbucket and GitLab platforms 2024-08-13 08:59:27 +03:00
mrT23
8589941ffe
Improve Bitbucket diff handling for new and deleted files and add error protection for missing file links 2024-08-12 21:15:26 +03:00
mrT23
7f0e6aeb37
Add conditional checks for review label settings in set_review_labels method 2024-08-12 20:57:32 +03:00
mrT23
8a768aa7fd
Lower log level for missing code suggestions from error to warning 2024-08-12 18:41:24 +03:00
Tal
cc73d4599b
Merge pull request #1123 from Codium-ai/ok/app_name
Add app_name to log_context in Bitbucket and GitLab webhook handlers
2024-08-12 16:26:08 +03:00
Tal
4228f92e7e
Merge pull request #1119 from Codium-ai/hl/limit_long_comments
Hl/limit long comments
2024-08-12 16:25:42 +03:00
Ori Kotek
b59111e4a6
Add app_name to log_context in Bitbucket and GitLab webhook handlers 2024-08-12 16:10:41 +03:00
Hussam.lawen
70da871876
lower OpenAI errors to warnings 2024-08-12 12:27:48 +03:00
Hussam.lawen
9c1ab06491
fix long comments 2024-08-12 12:27:09 +03:00
mrT23
5c4bc0a008
Add Bitbucket diff handling and improve error logging
- Implement `publish_file_comments` method placeholder
- Enhance `is_supported` method to include `publish_file_comments`
- Refactor diff splitting logic to handle Bitbucket-specific headers
- Improve error handling and logging for file content retrieval
- Add `get_pr_owner_id` method to retrieve PR owner ID
- Update `_get_pr_file_content` to fetch file content from remote link
- Fix variable name typo in `extend_patch` function in `git_patch_processing.py`
2024-08-12 09:48:26 +03:00
mrT23
4c1c313031
Add missing newline in extended patch and remove trailing whitespace 2024-08-11 18:49:28 +03:00
mrT23
12742ef499
Adjust patch extension logic to handle cases where extended size exceeds original file length 2024-08-11 15:48:58 +03:00
mrT23
63e921a2c5
Adjust patch extension logic to handle cases where extended size exceeds original file length 2024-08-11 15:46:46 +03:00
mrT23
a06670bc27
Fix incorrect logic for extending patch size beyond original file length 2024-08-11 15:20:27 +03:00
mrT23
23aa2a9388
Refactor patch extension logic to handle cases with zero extra lines 2024-08-11 13:59:27 +03:00
mrT23
e85b75fe64
Refactor patch extension logic to handle cases with zero extra lines 2024-08-11 12:56:56 +03:00
mrT23
df04a7e046
Add spaces to extra lines in patch extension for consistency 2024-08-11 12:32:26 +03:00
mrT23
9c3f080112
comments 2024-08-11 12:15:47 +03:00
mrT23
ed65493718
Handle edge cases for patch extension and update tests 2024-08-11 12:08:00 +03:00
mrT23
983233c193
Clarify comments for patch_extra_lines_before and patch_extra_lines_after in configuration.toml 2024-08-11 11:48:50 +03:00
mrT23
7438190ed1
set_claude_model 2024-08-11 11:43:57 +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
61bdfd3b99
patch_extra_lines_before and patch_extra_lines_after 2024-08-10 21:55:51 +03:00
mrT23
84b80f792d
protections 2024-08-09 21:44:00 +03:00
mrT23
e531245f4a
protections 2024-08-09 21:15:29 +03:00
mrT23
89e9413d75
logger message 2024-08-09 20:21:00 +03:00
Tal
b370cb6ae7
Merge pull request #1102 from MarkRx/feature/langchain-azure-fix
Fix LangChainOpenAIHandler for Azure
2024-08-08 19:37:26 +03:00
MarkRx
4201779ce2 Fix LangChainOpenAIHandler for Azure 2024-08-08 09:55:18 -04:00
Benedict Lee
4c0fd37ac2
Fix pr_processing.get_pr_multi_diffs
Fix function to return an empty list instead of a single joined string when patches_extended is empty.
2024-08-08 11:46:26 +09:00
Benedict Lee
c996c7117f
Fix function to return an empty list instead of a single joined string when patches_extended is empty. 2024-08-08 11:32:10 +09:00
mrT23
8a75d3101d
Enhance PR description handling and improve logging for invalid file extensions in Bitbucket provider 2024-08-07 16:32:36 +03:00
KennyDizi
9be5cc6dec Add support model gpt-4o-2024-08-06 2024-08-07 07:28:51 +07: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
Tal
2b77d07725
Merge pull request #1091 from Codium-ai/tr/patch_improvements
patch and prompt improvements
2024-08-04 14:23:45 +03:00
mrT23
ee1676cf7e
patch improvements 2024-08-03 12:49:58 +03:00
mrT23
3420e6f30d
patch improvements 2024-08-03 12:44:49 +03:00
Tal
85cc0ad08c
Merge pull request #1087 from KennyDizi/main
Fix exception handling and remove unused import in Bitbucket server provider
2024-08-03 12:18:12 +03:00
Tal
1cefd23739
Merge pull request #1073 from h0rv/patch-1
Improve response cleaning
2024-08-02 12:21:40 +03:00
KennyDizi
aef9a04b32 Fix use requests HTTPError 2024-08-02 07:58:23 +07:00
KennyDizi
fe4e642a47 Removed unused json import 2024-08-02 07:57:09 +07:00
Robby
039d85b836 fix cleaning 2024-08-01 15:50:00 -04:00
mrT23
0fa342ddd2
pr_description.final_update_message=false 2024-08-01 09:51:35 +03:00
Tal
23ec25c949
Merge pull request #1079 from MarkRx/feature/bitbucket-server-multi-line-suggestion-workaround
Use code blocks instead of suggestion blocks for Bitbucket Server multi-line suggestions
2024-08-01 09:29:18 +03:00
Tal
9560bc1b44
Merge pull request #1081 from MarkRx/feature/bitbucket-server-fix-post-inline-comments
Bitbucket Server fix inline comments and reading .pr_agent.toml
2024-08-01 09:28:35 +03:00
mrT23
d671c78233
Merge remote-tracking branch 'origin/main' 2024-07-31 13:32:51 +03:00
mrT23
240e0374e7
fixed extra call bug 2024-07-31 13:32:42 +03:00
MarkRx
288e9bb8ca Fix Bitbucket Server 401 unauthorized when posting inline coments; fix Bitbucket loading .pr_agent.toml 2024-07-30 16:19:57 -04:00
MarkRx
95f23de7ec Use code blocks instead of suggestion blocks for Bitbucket Server multi-line suggestions to workaround BSERV-4553 2024-07-30 10:43:56 -04:00
MarkRx
0390a85f5a Add missing bitbucket_server.pr_commands default 2024-07-30 09:45:45 -04:00
Robby
172d0c0358
improve response cleaning
The prompt for the model starts with a code block (```). When testing watsonx models (llama and granite), they would generate the closing block in the response.
2024-07-29 10:26:58 -04:00
Tal
f50832e19b
Update __init__.py 2024-07-29 08:32:34 +03:00
Tal
af84409c1d
Merge pull request #1067 from Codium-ai/tr/custom_model
docs: update usage guide and README; fix minor formatting issues in u…
2024-07-28 09:34:05 +03:00
mrT23
c2c69f2950
No code suggestions found for PR. 2024-07-28 09:32:54 +03:00
mrT23
e946a0ea9f
docs: update usage guide and README; fix minor formatting issues in utils.py 2024-07-28 09:30:21 +03:00
Tal
27d6560de8
Update pr_agent/algo/utils.py
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
2024-07-28 08:58:03 +03:00
mrT23
6ba7b3eea2
fix condition 2024-07-28 08:57:39 +03:00
mrT23
86d9612882
docs: update usage guide for changing models; add custom model support and reorganize sections 2024-07-28 08:55:01 +03:00
Tal
49f608c968
Merge pull request #1065 from dceoy/feature/add-groq-models
Add Llama 3.1 and Mixtral 8x7B for Groq
2024-07-28 08:31:50 +03:00
Tal
11f85cad62
Merge pull request #1064 from KennyDizi/main
Fix Bitbucket token name and clean up secrets template
2024-07-28 08:29:17 +03:00
dceoy
495e2ccb7d Add Llama 3.1 and Mixtral 8x7B for Groq 2024-07-28 02:28:42 +09:00
KennyDizi
a176adb23e Remove redundant spaces 2024-07-27 22:21:54 +07:00
KennyDizi
68ef11a2fc Fix invalid token name 2024-07-27 22:17:48 +07:00
Tal
38c38ec280
Update pr_agent/algo/ai_handlers/litellm_ai_handler.py
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
2024-07-27 18:03:35 +03:00
Tal
3904eebf85
Update pr_agent/algo/ai_handlers/litellm_ai_handler.py
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
2024-07-27 18:02:57 +03:00
mrT23
778d7ce1ed
config 2024-07-27 17:54:36 +03:00
mrT23
3067afbcb3
Update seed handling: log fixed seed usage; adjust default seed and temperature in config 2024-07-27 17:50:59 +03:00
mrT23
70f7a90226
Add E2E tests workflow for GitHub, GitLab, and Bitbucket; update configuration settings and build-and-test workflow 2024-07-27 17:26:24 +03:00
mrT23
7eadb45c09
Refactor seed handling logic in litellm_ai_handler to improve readability and error checking 2024-07-27 17:23:42 +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
Tal
3a77652660
Merge pull request #1061 from MarkRx/feature/bitbucket-server-get-line-link
Implement BitbucketServerProvider.get_line_link
2024-07-27 16:04:09 +03:00
MarkRx
81d07a55d7 Implement BitbucketServerProvider.get_line_link 2024-07-26 12:34:12 -04:00
mrT23
652ced5406
bitbucket server 2024-07-26 08:31:21 +03:00
Tal
aaf037570b
Update configuration.toml
remove dead codde
2024-07-24 19:56:50 +03:00
shnskfjwr
41c6502190 docs: Supports litellm's Amazon Bedrock parameter syntax change 2024-07-23 16:25:26 +09:00
KennyDizi
581c95c4ab Add support model gpt-4o-mini-2024-07-18 2024-07-23 07:43:47 +07:00
KennyDizi
789c48a216 Add support model gpt-4o-mini 2024-07-23 07:41:04 +07:00
woung717
003846a90d
fixed broken output format(yaml) prompt 2024-07-19 16:02:01 +09:00
mrT23
d088f9c19a
disable 'PUBLISH_OUTPUT_PROGRESS=False' 2024-07-18 11:49:09 +03:00
KennyDizi
8a7f3501ea Fix duplication code 2024-07-16 18:27:58 +07:00
Tal
1b2a2075ae
Merge pull request #1041 from KennyDizi/main
Fix data type for `pr_files` field in PR description prompts
2024-07-16 08:09:23 +03:00
mrT23
3d3b49e3ee
remove github.com 2024-07-15 20:18:21 +03:00
Kenny Dizi
174b4b76eb Fix pr_files data type 2024-07-15 12:28:53 +07:00
mrT23
6151bfac25
key.lower 2024-07-14 09:00:10 +03:00
mrT23
5d6e1de157
review with links 2024-07-14 08:53:53 +03:00
KennyDizi
b51abe9af7 Use full file path instead of complete file path 2024-07-14 12:01:33 +07:00
KennyDizi
20206af1bf Optimize relevant file and language description for pr code suggestion prompt 2024-07-14 10:03:44 +07:00
KennyDizi
34ae1f1ab6 Optimize relevant file and language description for pr description prompt 2024-07-14 10:03:31 +07:00
KennyDizi
887283632b Optimize relevant file and language description for review prompt 2024-07-14 10:03:19 +07:00
KennyDizi
7f84b5738e Optimize relevant file description for add docs prompt 2024-07-14 10:02:00 +07:00
Tal
228ceff3a6
Merge pull request #1035 from Codium-ai/tr/providers
Tr/providers
2024-07-11 18:47:42 +03:00
mrT23
034ec8f53a
provider 2024-07-11 18:37:37 +03:00
mrT23
eccd00b86f
github 2024-07-11 18:30:16 +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
Kenny Dizi
d0948329d3 Fix typo in PRDescription class 2024-07-10 14:37:52 +07:00
R-Mathis
19ca7f887a add additional google models support 2024-07-09 14:29:50 +02:00
mrT23
f76f750757
best_practices 2024-07-09 07:49:30 +03:00
mrT23
9a57d00951
GitHub Enterprise Server 2024-07-08 09:01:56 +03:00
mrT23
745d0c537c
hotfix 2024-07-07 15:07:09 +03:00
mrT23
5b594dadee
pr_types rstrip 2024-07-07 08:08:53 +03:00
mrT23
be18152446
refresh 2024-07-05 17:11:13 +03:00
mrT23
7fc41409d4
refresh 2024-07-05 16:51:35 +03:00
Tal
20d9d8ad07
Update pr_agent/algo/ai_handlers/litellm_ai_handler.py
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
2024-07-04 12:26:23 +03:00
mrT23
f3c80891f8
sonnet-3.5 2024-07-04 12:23:36 +03:00
Tal
12973c2c99
Merge pull request #1021 from Codium-ai/tr/margins
increase margins
2024-07-04 12:13:22 +03:00
Tal
1f5c3a4c0f
Merge pull request #1020 from Codium-ai/tr/fallbacks
Tr/fallbacks
2024-07-04 12:12:39 +03:00
mrT23
422b4082b5
No key issues to review 2024-07-03 20:58:25 +03:00
mrT23
2235a19345
increase margins 2024-07-03 20:53:15 +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
mrT23
0bac03496a
keys fallback 2024-07-03 17:06:27 +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
bea68084b3
ValueError 2024-07-03 08:51:08 +03:00
mrT23
57abf4ac62
tests 2024-07-03 08:47:59 +03:00
mrT23
040503039e
prompt 2024-07-03 08:37:04 +03:00
mrT23
3e265682a7
extend additional files 2024-07-03 08:32:37 +03:00
mrT23
d7c0f87ea5
table 2024-07-03 08:19:58 +03:00
mrT23
92d040c80f
Merge remote-tracking branch 'origin/main' into tr/review_redesign 2024-07-03 07:54:26 +03:00
mrT23
8d87b41cf2
extend additional files 2024-06-30 20:28:32 +03:00
mrT23
f058c09a68
extend additional files 2024-06-30 20:20:50 +03:00
mrT23
f2cb70ea67
extend additional files 2024-06-30 18:38:06 +03:00
mrT23
3e6263e1cc
async calls 2024-06-30 17:33:48 +03:00
mrT23
3373fb404a
review_v2 2024-06-29 21:57:20 +03:00
mrT23
df02cc1437
Merge remote-tracking branch 'origin/main' into tr/review_redesign
# Conflicts:
#	pr_agent/tools/pr_reviewer.py
2024-06-29 21:55:49 +03:00
Tal
6a5f43f8ce
Merge pull request #1005 from KennyDizi/main
Centralize PR Review Title Definition
2024-06-29 21:53:20 +03:00
mrT23
ebbf9c25b3
review_v2 2024-06-29 21:42:12 +03:00
mrT23
0dc7bdabd2
review_v2 2024-06-29 21:22:25 +03:00
mrT23
defe200817
review_v2 2024-06-29 13:08:34 +03:00
mrT23
bf5673912d
APITimeoutError 2024-06-29 11:30:15 +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
15f854336a
s 2024-06-27 09:07:19 +03:00
Tal
056eb3a954
Merge pull request #1004 from Codium-ai/tr/large_pr
Tr/large pr
2024-06-27 08:37:02 +03:00
mrT23
11abce3ede
s 2024-06-27 08:36:40 +03:00
mrT23
556dc68add
s 2024-06-27 08:32:14 +03:00
mrT23
ca18f85294
s 2024-06-27 08:27:49 +03:00
KennyDizi
382da3a5b6 Use descriptive name for the ReviewHeaderTitle enum to reflect its specific purpose related to PR headers 2024-06-27 07:17:26 +07:00
KennyDizi
406dcd7b7b Improve code readability by adding a newline after enum definitions 2024-06-27 07:16:54 +07:00
KennyDizi
b20f364b15 Change the data structure for prefixes to a list to preserve order 2024-06-27 07:16:26 +07:00
KennyDizi
692904bb71 Use ReviewHeaderTitle in lieu of PrReviewTitle 2024-06-27 07:11:57 +07:00
KennyDizi
ba963149ac Fix extract PrReviewTitle member value 2024-06-27 07:10:57 +07:00
KennyDizi
7348d4144b Rename PrReviewTitle enum 2024-06-27 07:05:03 +07:00
KennyDizi
41607b10ef Apply PrReviewTitles enum for pr review file 2024-06-27 07:03:43 +07:00
KennyDizi
2d21df61c7 Apply PrReviewTitles enum for github provider file 2024-06-27 07:03:25 +07:00
KennyDizi
c185b7c610 Apply PrReviewTitles enum for algo utils file 2024-06-27 07:03:08 +07:00
KennyDizi
3d60954167 Add PrReviewTitles enum 2024-06-27 06:59:49 +07:00
mrT23
a57896aa94
s 2024-06-26 21:05:00 +03:00
mrT23
73f0eebb69
s 2024-06-26 20:44:30 +03:00
mrT23
b1d07be728
s 2024-06-26 20:33:45 +03:00
mrT23
0f920bcc5b
s 2024-06-26 20:11:20 +03:00
mrT23
55a82382ef
Merge remote-tracking branch 'origin/main' 2024-06-26 16:20:16 +03:00
mrT23
6c2a14d557
fix: correct indentation in PR description preparation logic 2024-06-26 16:20:05 +03:00
Mitsuki Ogasahara
b814e4a26d feat: Support Anthropic Calude 3.5 Sonnet on Vertex AI 2024-06-25 17:32:17 +09:00
R-Mathis
69f6997739 remove extra space 2024-06-24 14:01:33 +02:00
R-Mathis
8cc436cbd6 add gemini support for pr agent 2024-06-24 13:48:56 +02:00
R-Mathis
384dfc2292 add text bison support for pr agent 2024-06-24 13:28:37 +02:00
R-Mathis
40737c3932 add gemini support for pr agent 2024-06-24 12:08:16 +02:00
R-Mathis
c46434ac5e add gemini support for pr agent 2024-06-24 12:03:34 +02:00
R-Mathis
255c2d8e94 add gemini support for pr ageny 2024-06-24 11:35:41 +02:00
mrT23
74bb07e9c4
fix: correct indentation in PR description preparation logic 2024-06-23 21:17:34 +03:00
mrT23
a4db59fadc
Merge remote-tracking branch 'origin/main' 2024-06-23 16:53:53 +03:00
mrT23
2990aac955
docs: update custom labels configuration and usage instructions in describe tool 2024-06-23 16:53:45 +03:00
mrT23
666fcb6264
fix: update prompt key from suggestion_content to suggestion_summary in code suggestions 2024-06-23 11:33:33 +03:00
mrT23
3f3e9909fe
fix: initialize git_provider as an empty dictionary in GitHub App server 2024-06-23 10:03:52 +03:00
Diogo Simoes
a3d4d6d86f feat: claude 3.5 sonnet support 2024-06-21 09:30:52 +01: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
833bb29808
Add context-aware git provider retrieval and refactor related functions 2024-06-19 11:20:00 +03:00
mrT23
0c1331f77e
Add context-aware git provider retrieval and refactor related functions 2024-06-19 09:49:47 +03:00
mrT23
164999d83d
Add context-aware git provider retrieval and refactor related functions 2024-06-19 09:46:48 +03:00
mrT23
a710f3ff43
Add context-aware git provider retrieval and refactor related functions 2024-06-19 09:41:53 +03:00
mrT23
025a14014a
Add context-aware git provider retrieval and refactor related functions 2024-06-19 09:36:37 +03:00
mrT23
5968db67b9
Merge remote-tracking branch 'origin/main' 2024-06-19 08:30:55 +03:00
mrT23
3affe011fe
Update Bitbucket app commands to include suggestions score threshold in documentation and configuration 2024-06-19 08:30:45 +03:00
Ori Kotek
663604daa5
Support running GitHub App using gunicorn, adjust Dockerfile accordingly 2024-06-18 20:15:48 +03:00
Tal
deda06866d
Merge pull request #971 from brianteeman/typos-1
Fix typos/Spelling
2024-06-18 18:00:42 +03:00
mrT23
bc09330a44
Add self-review checkbox functionality to improve tool and update documentation 2024-06-17 20:26:09 +03:00
Brian Teeman
7bd1e5211c
Update pr_agent/settings/pr_reviewer_prompts.toml
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
2024-06-17 09:22:38 +01:00
Tal
8d44804f84
Merge pull request #975 from brianteeman/identify_image_in_comment
identify_image_in_comment
2024-06-17 08:41:35 +03:00
Tal
a4320b6b0d
Merge pull request #976 from brianteeman/get_changlog_file
get_changlog_file
2024-06-17 08:39:59 +03:00
Tal
73ec67b14e
Merge pull request #974 from brianteeman/repetition_penalty
repetition_penalty
2024-06-17 08:39:16 +03:00
BrianTeeman
8463aaac0a
get_changlog_file
Correct the spelling

Fix spelling errors now will prevent issues going forward where people have to misspell something on purpose
2024-06-16 17:35:52 +01:00
BrianTeeman
195f8a03ab
identify_image_in_comment
Correct the spelling

Fix spelling errors now will prevent issues going forward where people have to misspell something on purpose
2024-06-16 17:33:23 +01:00
BrianTeeman
5268a84bcc
repetition_penalty
Correct the spelling of this variable.

Fix spelling errors now will prevent issues going forward where people have to misspell something on purpose
2024-06-16 17:28:30 +01:00
BrianTeeman
e53badbac4
Overall_success
Correct the spelling of this variable.

Fix spelling errors now will prevent issues going forward where people have to misspell something on purpose
2024-06-16 17:12:11 +01:00
BrianTeeman
a9a27b5a8f
Fix typos/Spelling
This simple PR fixes typos and spelling errors in code comments and documentation. It has no functional changes but does at least make the instruction more readable and match the code.
2024-06-16 17:06:30 +01:00
mrT23
4db428456d
Refactor filter_bad_extensions and is_valid_file functions to improve code readability and reusability 2024-06-15 20:10:46 +03:00
mrT23
925fab474c
key_issues_to_review 2024-06-15 19:58:09 +03:00
Tal
774bba4ed2
Merge pull request #964 from evalphobia/feature/vertexai-calude3
Support models: Anthropic Claude 3 on Vertex AI
2024-06-15 19:49:49 +03:00
mrT23
e083841d96
Add file ignore functionality and update documentation for ignore patterns 2024-06-13 13:18:15 +03:00
mrT23
bedcc2433c
Add file ignore functionality and update documentation for ignore patterns 2024-06-13 13:00:39 +03:00
mrT23
8ff85a9daf
Fix markdown formatting in utils.py by removing extra newlines 2024-06-13 12:45:57 +03:00
mrT23
58bc54b193
Add file ignore functionality and update documentation for ignore patterns 2024-06-13 12:27:10 +03:00
mrT23
aa56c0097d
Add file ignore functionality and update documentation for ignore patterns 2024-06-13 12:20:21 +03:00
mrT23
20f6af803c
Add file ignore functionality and update documentation for ignore patterns 2024-06-13 12:09:52 +03:00
mrT23
2076454798
Add file ignore functionality and update documentation for ignore patterns 2024-06-13 12:01:50 +03:00
mrT23
e367df352b
Add file ignore functionality and update documentation for ignore patterns 2024-06-13 11:41:13 +03:00
mrT23
3a897935ae
Merge remote-tracking branch 'origin/main' into tr/reviewer 2024-06-13 09:30:09 +03:00
mrT23
55b52ad6b2
Add exception handling to process_can_be_split function and update pr_reviewer_prompts.toml formatting 2024-06-13 09:28:51 +03:00
evalphobia
b0f9b96c75 Support models: Anthropic Calude 3 on Vertex AI 2024-06-13 14:34:14 +09:00
Tal
aac7aeabd1
Update PR review prompts and terminology for clarity and consistency (#954)
* Update PR review prompts and terminology for clarity and consistency
2024-06-10 08:44:11 +03:00
mrT23
306fd3d064
Update PR review prompts and terminology for clarity and consistency 2024-06-10 08:13:48 +03:00
Ori Kotek
07f21a5511
Github: work in background 2024-06-09 18:14:42 +03:00
mrT23
1106dccc4f
Update PR review prompts and terminology for clarity and consistency 2024-06-09 14:34:51 +03:00
mrT23
9c8bc6c86a
Update PR review prompts and terminology for clarity and consistency 2024-06-09 14:29:32 +03:00
Tal
f4c9d23084
Merge pull request #950 from ryanzll/main
update LangChainOpenAIHandler for langchain version 0.2 and read openai_api_base
2024-06-09 10:15:53 +03:00
mrT23
25fdf16894
Update PR help message links to new documentation URLs 2024-06-07 08:12:06 +03:00
Tal
12b0df4608
committable checbox (#951)
* Add "apply suggestions" feature to README, improve.md, and configuration.toml
2024-06-06 18:04:40 +03:00