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
ryan
529346b8e0
Merge branch 'main' of https://github.com/ryanzll/pr-agent
2024-06-06 22:28:11 +08:00
ryan
b28f66aaa0
1. update LangChainOpenAIHandler to support langchain version 0.2
...
2. read openai_api_base from settings for llms that compatible with openai
2024-06-06 22:27:01 +08:00
mrT23
d046c2a939
gitlab push_commands will work
2024-06-05 11:25:10 +03:00
mrT23
4d96d11ba5
enterprise
2024-06-04 20:15:22 +03:00
mrT23
faf4576f03
enterprise
2024-06-04 17:08:24 +03:00
mrT23
0b7dcf03a5
Improve error handling in get_mr_url_from_commit_sha function in gitlab_webhook.py
2024-06-04 16:47:20 +03:00
mrT23
8e12787fc8
Clear secret provider configuration in configuration.toml
2024-06-04 16:42:54 +03:00
mrT23
213ced7e18
Add PR evaluation prompt and link to fine-tuning benchmark documentation
2024-06-04 16:37:35 +03:00
Kamakura
c53c6aee7f
fix wrong provider name
2024-06-04 15:09:30 +08:00
Kamakura
b980168e75
Update pr_description.py
2024-06-04 11:19:18 +08:00
Kamakura
86d901d5a6
Update __init__.py
2024-06-04 11:17:04 +08:00
Kamakura
b1444eb180
format github_action_runner.py
2024-06-04 11:10:13 +08:00
Kamakura
d3a7041f0d
update alog/__init__.py
2024-06-04 00:00:22 +08:00
Kamakura
b4f0ad948f
Update Python code formatting, configuration loading, and local model additions
...
1. Code Formatting:
- Standardized Python code formatting across multiple files to align with PEP 8 guidelines. This includes adjustments to whitespace, line breaks, and inline comments.
2. Configuration Loader Enhancements:
- Enhanced the `get_settings` function in `config_loader.py` to provide more robust handling of settings retrieval. Added detailed documentation to improve code maintainability and clarity.
3. Model Addition in __init__.py:
- Added a new model "ollama/llama3" with a token limit to the MAX_TOKENS dictionary in `__init__.py` to support new AI capabilities and configurations.
2024-06-03 23:58:31 +08:00
Ori Kotek
2b0dfc6298
Merge remote-tracking branch 'origin/main' into ok/gitlab_fix
2024-06-03 14:15:46 +03:00
Ori Kotek
76ff49d446
Refactor GitLab webhook initialization to move app setup outside of start function
2024-06-03 12:38:41 +03:00
Ori Kotek
413547f404
Refactor GitLab webhook handling for async processing and improved logging
2024-06-03 12:36:24 +03:00
mrT23
09190efb65
Add PR evaluation prompt and link to fine-tuning benchmark documentation
2024-06-03 11:35:39 +03:00
mrT23
4f13007267
Disable final update message when auto_describe is enabled in GitHub Action Runner
2024-06-03 08:15:36 +03:00
Tal
83f3cc5033
Merge pull request #933 from MarkRx/bugfix/server-logging-context
...
Fix some server implementations not properly logging context
2024-06-02 08:29:43 +03:00
Mark
4971071b1f
Merge branch 'main' into feature/valid-file-filter-log
2024-05-31 09:10:50 -04:00
Tal
ea9d410c84
Merge pull request #928 from MarkRx/bugfix/bb-server-fixes
...
Bitbucket Server Provider Fixes
2024-05-31 11:12:41 +03:00
MarkRx
d9a7dae6c4
Better error handling on backgrounp task thread
2024-05-30 20:22:58 -04:00
MarkRx
c9c14c10b0
Fix some server implementations not properly logging context
2024-05-30 20:16:21 -04:00
MarkRx
bd2f2b3a87
Improve bb server error logging
2024-05-30 17:31:46 -04:00
MarkRx
c11ee8643e
Bitbucket server filter out globally ignored files before attempting diff
2024-05-30 11:34:39 -04:00
mrT23
e6c5236156
Add logging for skipping non-code files in GitHub provider
2024-05-30 17:05:30 +03:00
MarkRx
ee90f38501
BB Server fixes. Fix ID not being retrieved, inline comments, url generation, and pr review not working
2024-05-30 10:05:00 -04:00
mrT23
911c1268fc
Add large_patch_policy configuration and implement patch clipping logic
2024-05-29 13:52:44 +03:00
mrT23
17f46bb53b
Add large_patch_policy configuration and implement patch clipping logic
2024-05-29 13:42:44 +03:00
mrT23
da44bd7d5e
extended_patch
2024-05-22 21:50:00 +03:00
mrT23
83ff9a0b9b
final_update_message
2024-05-22 21:49:33 +03:00
mrT23
4cd9626217
grammar
2024-05-22 21:47:49 +03:00
mrT23
71770f3c04
Update default setting of final_update_message to false in describe.md and configuration.toml
2024-05-20 14:25:51 +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
9b56c83c1d
APP_NAME
2024-05-19 12:18:22 +03:00
mrT23
dcd188193b
Update configuration_options.md to include tip on showing relevant configurations
2024-05-19 08:20:15 +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
Tal
f9af9e4a91
Update pr_code_suggestions_prompts.toml
2024-05-16 21:59:00 +03:00
Tal
3b3e885b76
Merge pull request #906 from Codium-ai/tr/self_reflect
...
Tr/self reflect
2024-05-16 21:57:32 +03:00
mrT23
46e934772c
Rename "Custom Suggestions" feature to "Custom Prompt" across documentation, README, and tool references
2024-05-16 21:55:02 +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
Tal
be701aa868
Merge pull request #902 from Codium-ai/tr/self_reflect
...
Refactor Azure DevOps provider to use PR iterations for change detect…
2024-05-15 09:22:14 +03:00
mrT23
4231a84e7a
Refactor Azure DevOps provider to use PR iterations for change detection, improving accuracy of diff file identification
2024-05-15 09:15:12 +03:00
mrT23
e56320540b
Refactor Azure DevOps provider to use PR iterations for change detection, improving accuracy of diff file identification
2024-05-15 09:05:01 +03:00
mrT23
e4565f7106
Refactor Azure DevOps provider to use PR iterations for change detection, improving accuracy of diff file identification
2024-05-14 21:43:14 +03:00
KennyDizi
36ad8935ad
Add gpt-4o models
2024-05-14 08:24:34 +07:00
mrT23
05876afc02
Refactor pr_code_suggestions logic and update prompts for clarity and consistency
2024-05-13 18:21:31 +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
097637d7c0
toolbar emojis in pr-agent feedbacks
2024-05-05 13:48:45 +03:00
mrT23
34ad5f2aa2
toolbar emojis in pr-agent feedbacks
2024-05-05 13:33:54 +03:00
tacascer
2e34436589
chore: update GPT3.5 models
2024-04-22 20:25:32 -04:00
Tal
fae6cab2a7
Merge pull request #877 from randy-tsukemen/support-groq-llama3
...
Add Groq Llama3 support
2024-04-22 11:41:12 +03:00
Randy, Huang
d457fa2b9f
Add Groq API key configuration to .secrets_template.toml
2024-04-21 15:22:40 +09:00
Randy, Huang
0a53f09a7f
Add GROQ.KEY support in LiteLLMAIHandler
2024-04-21 15:21:45 +09:00
Randy, Huang
7a9e73702d
Fix duplicate assignment of replicate_key in LiteLLMAIHandler
2024-04-21 14:47:25 +09:00
mrT23
7563af08a0
docs
2024-04-18 08:44:08 +03:00
mrT23
ad96326832
not
2024-04-18 07:53:37 +03:00
mrT23
8242b10d8e
Replace summarize_mode with commitable_code_suggestions_mode in pr_code_suggestions_prompts.toml to enhance PR suggestion mechanism
2024-04-18 07:31:33 +03:00
mrT23
2f4e40860d
Replace keep_original_user_title with generate_ai_title for PR description customization and update documentation accordingly
2024-04-17 16:29:12 +03:00
mrT23
b076c33351
commitable_code_suggestions
2024-04-17 15:32:45 +03:00
mrT23
44eb0b4f23
ask
2024-04-14 14:12:48 +03:00
mrT23
92ef2b4464
ask
2024-04-14 14:09:58 +03:00
mrT23
86e64501df
ask
2024-04-14 12:43:26 +03:00
mrT23
f0230fce79
gpt-4-turbo-2024-04-09
2024-04-14 12:37:54 +03:00
mrT23
4683a29819
s
2024-04-14 12:34:14 +03:00
mrT23
8f0f08006f
s
2024-04-14 12:00:19 +03:00
mrT23
a4680ded93
protections
2024-04-12 20:32:47 +03:00
Pavel Kvach
4c83bf695d
Handle OPENAI_KEY not set error in github_action_runner.py
...
Fixes https://github.com/Codium-ai/pr-agent/issues/855
2024-04-12 10:50:00 +03:00
idubnori
9e4ffd824c
Merge branch 'main' into feature/gha-outputs-1
2024-04-10 23:27:44 +09:00
idubnori
ae633b3cea
refine: github_action_output
2024-04-10 22:30:16 +09:00
idubnori
97dcb34d77
clean: rename to github_action_output
2024-04-10 22:16:09 +09:00
Yuta Nishi
108b1afa0e
add new models
2024-04-10 14:44:38 +09:00
idubnori
3412095d81
chore: change default to true, if use in github actions
2024-04-10 09:18:21 +09:00
idubnori
75c4befadf
feat: set review data to github actions output
2024-04-10 01:02:05 +09:00
phuongvietnamlab
0257b619ff
Failed to review PR: name 'is_valid_file' is not defined
2024-04-09 15:47:54 +07:00
mrT23
8a5b01b465
empty calc_pr_statistics
2024-04-08 14:49:00 +03:00
mrT23
84d8f78d0c
publish_output
2024-04-08 14:00:41 +03:00
mrT23
2be0e9108e
readme
2024-04-07 17:00:40 +03:00
mrT23
aa2121a48d
readme
2024-04-07 16:28:30 +03:00
mrT23
d6b037a63a
readme
2024-04-07 11:51:06 +03:00
mrT23
9c3673209d
TokenEncoder
2024-04-03 08:42:50 +03:00
mrT23
3ebb72e3f1
feat: add persistent comment option for PR descriptions
2024-04-02 17:52:34 +03:00
gregoryboue
501b059575
feat: allows ollama usage
...
Fix https://github.com/Codium-ai/pr-agent/issues/657
2024-04-02 11:01:45 +02:00
mrT23
8bda365636
docs: Add "Improve Component" tool documentation and update related guides
2024-03-31 12:13:25 +03:00
mrT23
c3b3651769
refine help
2024-03-31 11:43:00 +03:00
mrT23
79bdb9a69f
bugfix: validate output publishing with progress condition in pr_code_suggestions
2024-03-27 19:56:27 +02:00
idubnori
493f73f1ce
chore: add logging the reason not execute
2024-03-27 12:03:27 +09:00
Tal
26c4a98fc8
Merge pull request #820 from riya-amemiya/riya-amemiya/change_gpt-4-turbo_model
...
add support for gpt-4-turbo-preview model
2024-03-26 10:46:51 +02:00
Riya Amemiya
a7494746df
revert default model
2024-03-26 16:21:30 +09:00
mrT23
1491bcba96
logs
2024-03-26 08:09:33 +02:00
Yuta Nishi
d064a352ad
feat(pr_agent): add support for gpt-4-turbo-preview model and update default settings
2024-03-26 14:47:05 +09:00
mrT23
9c284e64cf
dont log pr-agent bot
2024-03-25 12:27:45 +02:00
mrT23
903d74b2f7
ignore_bot_pr = true
2024-03-25 11:42:24 +02:00
mrT23
3cdadb3ad1
always ignore bot
2024-03-25 09:04:07 +02:00
mrT23
695f0706a8
Refactor help text for clarity and update configuration links in help.py; standardize variable naming in cli.py
2024-03-25 08:53:13 +02:00
mrT23
07f5025b03
Refactor help text for clarity and update configuration links in help.py; standardize variable naming in cli.py
2024-03-25 08:51:59 +02:00
mrT23
ee4798acca
adjustments to pypi
2024-03-23 16:16:32 +02:00
mrT23
9a46690121
adjustments to pypi
2024-03-23 09:55:08 +02:00
mrT23
887d640ba5
Merge remote-tracking branch 'origin/main' into tr/pypi
2024-03-22 21:36:45 +02:00
mrT23
0816370b1a
adjustments to pypi
2024-03-22 21:36:22 +02:00
Tal
b4b2c7c620
Merge pull request #800 from koid/feature/ignore-bot-pr-on-github-app
...
Added `ignore_bot_pr` option
2024-03-21 18:42:45 +02:00
koid
cae0b96054
use sender_type on bot check
2024-03-21 12:06:46 +09:00
mrT23
29a2412de6
name
2024-03-20 08:36:46 +02:00
mrT23
b70225294c
Update 'improve' tool documentation and functionality: Add persistent comment option, adjust default values, and enhance comment handling in pr_code_suggestions.py
2024-03-20 08:14:08 +02:00
koid
b71523f13e
use endswith
2024-03-18 16:14:58 +09:00
koid
80a793a257
ignore bot pr option on github app mode
2024-03-18 16:14:54 +09:00
Tal
dd83b196b4
Merge pull request #781 from koid/feature/support-bedrock-claude3
...
added support for bedrock/claude3
2024-03-18 08:03:29 +02:00
mrT23
b6dd57375f
Initialize current_labels to empty list if no labels exist in pr_reviewer.py
2024-03-17 11:39:10 +02:00
mrT23
498b4cb34e
readme
2024-03-17 09:59:55 +02:00
mrT23
6d39773a17
prompt
2024-03-17 09:44:50 +02:00
mrT23
99a676d792
Merge remote-tracking branch 'origin/main' into tr/split
2024-03-17 09:00:04 +02:00
mrT23
669e076938
Enhance AI handler logging and add main PR language attribute to AI handler in various tools
2024-03-16 13:52:02 +02:00
mrT23
74345284bd
Enhance AI handler logging and add main PR language attribute to AI handler in various tools
2024-03-16 13:47:44 +02:00
mrT23
1593d8932b
Refactor code in pr_code_suggestions.py and remove 'use_repo_settings_file' from azure.md and automations_and_usage.md
2024-03-15 12:37:50 +02:00
koid
3bae515e39
add claude-3-haiku
2024-03-14 16:58:44 +09:00
koid
f94a0fd704
add Claude3Config
2024-03-13 11:24:51 +09:00
koid
1ed2cd064a
add config litellm.drop_params
2024-03-13 11:20:02 +09:00
koid
d62796ac68
update max_tokens
2024-03-13 11:14:04 +09:00
mrT23
78cabf28a4
Update label comparison logic in pr_reviewer.py and pr_description.py to consider unordered lists
2024-03-12 18:25:42 +02:00
mrT23
8b29c3a2be
typo
2024-03-12 18:18:08 +02:00
mrT23
785fbe04ae
update links
2024-03-12 17:42:19 +02:00
mrT23
31a8f5302a
Update get_pr_labels method to support label updates and prevent unnecessary label republishing
2024-03-12 17:02:45 +02:00
Hussam Lawen
42cd85b420
Merge pull request #769 from Codium-ai/hl/incremental_review_update
...
fix
2024-03-11 11:33:48 +02:00
Hussam.lawen
476d64bc18
fix
2024-03-11 11:30:05 +02:00
Hussam Lawen
72cbf36e6c
Merge pull request #768 from Codium-ai/hl/incremental_review_update
...
Hl/incremental review handle edge cases
2024-03-11 10:49:29 +02:00
Hussam.lawen
ad240f7640
small fix
2024-03-11 10:13:41 +02:00
Hussam.lawen
5c20fffee9
fix when no previous review where found, reivew -i should run as regular review
2024-03-11 09:59:16 +02:00
Hussam.lawen
84dadb0469
rename + check github
2024-03-11 09:42:10 +02:00
mrT23
86dc87831b
remove is_temporary
2024-03-11 09:37:51 +02:00
Tal
75800a745c
Merge pull request #764 from Codium-ai/hl/incremental_review_update
...
Hl/incremental review update
2024-03-11 00:03:16 -07:00
Tal
256d1a3369
Merge pull request #751 from danstis/fix/ado-spaces
...
Fix URL encoding in Azure DevOps webhook handler
2024-03-10 23:57:59 -07:00
mrT23
33a911da4c
log
2024-03-11 08:56:48 +02:00
mrT23
a27ad0feb6
log
2024-03-11 08:55:07 +02:00
mrT23
6c5697b07c
Enhance logging and refactor code in gitlab_webhook.py, update logger level in bitbucket_app.py and github_polling.py, remove redundant section in github.md
2024-03-11 08:50:19 +02:00
Hussam.lawen
5453507097
small fix
2024-03-10 17:19:27 +02:00
Hussam.lawen
003c49052e
skip incremental review if no file changed since last review
2024-03-10 17:15:25 +02:00
mrT23
4810b8549b
docs
2024-03-10 16:59:37 +02:00
mrT23
10a96d61ca
Merge remote-tracking branch 'origin/main' into tr/split
...
# Conflicts:
# pr_agent/settings/pr_reviewer_prompts.toml
2024-03-10 16:57:25 +02:00
mrT23
8324e9a38d
can_be_split
2024-03-10 16:56:32 +02:00
Hussam.lawen
ff2346eacc
update markdown
2024-03-10 14:18:29 +02:00
mrT23
b4e9c55d8d
fixed bug in inline_code_suggestions in review
2024-03-10 07:50:12 +02:00
mrT23
bb341a6568
Fix missing colons in class definitions in pr_reviewer_prompts.toml
2024-03-10 07:39:10 +02:00
Dan Anstis
73624148a5
Fix URL encoding in Azure DevOps webhook handler
2024-03-08 04:39:57 +00:00
Ori Kotek
1ff0afabae
Refactor update changelog
2024-03-07 00:48:33 +02:00
mrT23
0690f2bbfd
Refactor litellm_ai_handler.py and update requirements.txt
...
- Replace retry library with tenacity for better exception handling
- Add verbosity level checks for logging prompts and AI responses
- Add support for HuggingFace API base and repetition penalty in chat completion
- Update requirements.txt with tenacity library
2024-03-06 12:13:54 +02:00
mrT23
26fb2a4164
Add support for Anthropic Claude-3 model in configuration and update Usage.md
2024-03-06 08:20:08 +02:00
mrT23
1c856a7d41
upgrade litellm
2024-03-06 08:06:59 +02:00
mrT23
2f6f1d5879
Add command execution functionality to Bitbucket app and update configuration settings
2024-03-06 07:53:13 +02:00
mrT23
c7eb70d00d
protections
2024-03-05 20:11:39 +02:00
mrT23
d77db93f80
protections
2024-03-05 18:34:18 +02:00
mrT23
acefbff62b
Add 'final_update_message' option to control publishing of update message in persistent comments
2024-03-05 17:29:17 +02:00
mrT23
da39149c61
Add unique_strings function and remove duplicate issues in utils.py; Update pr_reviewer_prompts.toml template
2024-03-04 11:07:39 +02:00
mrT23
eed23a7aaa
Add truncation and summarization features to PR code suggestions
2024-03-04 08:16:05 +02:00
mrT23
248c6b13be
Update suggestion content in pr_code_suggestions_prompts.toml
2024-03-04 07:56:44 +02:00
mrT23
aa9dbf7111
updated readme
2024-03-03 15:04:59 +02:00
Tal
0709d5f663
Merge pull request #730 from Codium-ai/tr/issue_header
...
Enhance markdown formatting fo issues
2024-03-03 04:06:04 -08:00
mrT23
c372c71514
prompt
2024-03-03 14:04:09 +02:00
mrT23
b3fd05c465
try-except
2024-03-03 13:58:10 +02:00
mrT23
f1bd67b7e9
Remove functionality and references to 'remove_previous_review_comment' option
2024-03-03 11:24:30 +02:00
mrT23
5880221d00
Update logger setup to include debug level in github_app.py
2024-03-02 23:32:26 +02:00
Tal
9a0288250d
Merge pull request #729 from Codium-ai/tr/wiki
...
wiki
2024-03-02 10:24:27 -08:00
mrT23
917bdd5cb8
Refactor Usage.md for improved readability and organization
2024-03-02 20:23:10 +02:00
mrT23
db796416d9
wiki
2024-03-02 20:16:29 +02:00
mrT23
35315c070f
major
2024-03-01 13:18:53 +02:00
mrT23
e589dcb489
Enhance markdown formatting and update prompt descriptions in pr_reviewer_prompts.toml
2024-03-01 13:02:50 +02:00
Ori Kotek
a86a3f52f0
a minor bugfix
2024-02-29 16:03:00 +02:00
Tal
2340f95488
Merge pull request #727 from Codium-ai/tr/repo_log
...
log event
2024-02-28 22:10:26 -08:00
mrT23
dd4dc4b761
log event
2024-02-29 08:09:25 +02:00
Tal
6a51a646ee
Merge pull request #725 from Codium-ai/tr/repo_log
...
get_log_context
2024-02-28 11:26:53 -08:00
mrT23
8d498cd70c
git_org
2024-02-28 16:14:13 +02:00
mrT23
d5e72c2183
get_log_context
2024-02-28 16:10:57 +02:00
mrT23
b09b936b15
get_log_context
2024-02-28 16:05:52 +02:00
Tal
6f22e5f557
Merge pull request #714 from Codium-ai/tr/improve_tweaks
...
improve tweaks
2024-02-28 05:57:38 -08:00
mrT23
dbe772e708
capitalize
2024-02-28 13:59:04 +02:00
Ori Kotek
9c7ac125e1
Tweak analytics log message to add api_url
2024-02-28 12:05:01 +02:00
mrT23
a8c5ac10b6
Merge remote-tracking branch 'origin/main' into tr/improve_tweaks
2024-02-28 11:09:48 +02:00
mrT23
047c370683
Update README.md and add gfm markdown support check in pr_help_message.py
2024-02-28 09:20:14 +02:00
mrT23
07f507c442
remove_initial_comment
2024-02-28 09:08:48 +02:00
mrT23
39538c5356
cleaning
2024-02-28 09:01:39 +02:00
mrT23
0c654b3b64
handle unsupported platforms for update changelog
2024-02-28 08:41:25 +02:00
mrT23
4316d00941
log_context
2024-02-26 21:12:28 +02:00
mrT23
edc9d8944e
Refactor handle_closed_pr function to check for merged PRs
2024-02-26 20:56:43 +02:00
Ori Kotek
910c56c851
Merge pull request #721 from Codium-ai/ok/identity_provider
...
Identity provider
2024-02-26 20:23:09 +02:00
Ori Kotek
ab29cf2b30
Identity provider
2024-02-26 20:21:20 +02:00
mrT23
60a37158b1
Add functionality to calculate and log PR statistics on closure
2024-02-26 20:09:01 +02:00
mrT23
4921c26432
Add functionality to calculate and log PR statistics on closure
2024-02-26 20:02:11 +02:00
Ori Kotek
8bdc90c0f7
Identity provider
2024-02-26 19:00:21 +02:00
Ori Kotek
77831c793d
Identity provider
2024-02-26 18:31:12 +02:00
Ori Kotek
8843f7bc8b
Add analytics logging
2024-02-26 16:15:23 +02:00
mrT23
ffe4512b7d
small log improvement
2024-02-26 15:16:59 +02:00
mrT23
a5cb35418e
remove 'review_requested' (can trigger rate limit, and doesnt make sense algorighmically)
2024-02-26 14:20:50 +02:00
mrT23
8594c93186
improve tweaks
2024-02-26 12:05:29 +02:00
mrT23
85cdf05ca8
review formatting
2024-02-26 09:36:16 +02:00
mrT23
7c9a389abf
review formatting
2024-02-26 09:27:13 +02:00
mrT23
18472492bc
s
2024-02-26 09:14:12 +02:00
mrT23
5f9969f30c
base_url
2024-02-25 17:22:35 +02:00
Ori Kotek
2dfddd8cea
Fix a bug
2024-02-25 17:13:35 +02:00
Ori Kotek
bc88e0492f
Fix a bug
2024-02-25 17:12:40 +02:00
mrT23
a15d4f7a94
base_url
2024-02-25 16:55:20 +02:00
mrT23
4258ce165b
Refactor link generation in github_provider.py to use get_pr_url method
2024-02-25 16:33:19 +02:00
mrT23
1275cf0123
adjustment
2024-02-25 16:23:44 +02:00
Ori Kotek
5ab69af5a7
Merge pull request #695 from Codium-ai/ok/analytics
...
Add support for analytics file
2024-02-25 11:17:09 +02:00
mrT23
dad3d3429f
artifact
2024-02-25 10:45:15 +02:00
mrT23
984a2888ae
Refactor logging statements for better readability and debugging
2024-02-25 10:04:04 +02:00
mrT23
8252b98bf5
Refactor logging statements for better readability and debugging
2024-02-25 10:01:53 +02:00
mrT23
34e421f79b
Refactor logging statements for better readability and debugging
2024-02-25 09:58:58 +02:00
mrT23
877796b539
Refactor logging statements for better readability and debugging
2024-02-25 09:46:07 +02:00
KennyDizi
3bcf085f61
Fix context
2024-02-24 17:00:58 +07:00
KennyDizi
f3a712683a
Use constant in stead of hard code number for collapsible file list threadhold
2024-02-24 16:53:18 +07:00
Tal
51ce484bab
Update github_app.py
2024-02-24 09:40:15 +02:00
Ori Kotek
4d8c38e5e1
Change github app startup logic to support gunicorj
2024-02-23 18:29:35 +02:00
Ori Kotek
2f3171e422
Change github app startup logic to support gunicorj
2024-02-23 18:28:58 +02:00
Ori Kotek
b878f64793
add analytics support
2024-02-23 17:30:20 +02:00
Ori Kotek
4242e157ab
Merge remote-tracking branch 'origin/main' into ok/analytics
2024-02-23 17:16:43 +02:00
mrT23
85492f20fa
'debug' for request body
2024-02-22 18:13:42 +02:00
mrT23
8b76eb1014
fixed bugs with incremental review
2024-02-22 18:03:00 +02:00
mrT23
adc5709b29
Refactor github_app.py to improve handling of PR events and comments
2024-02-22 17:34:51 +02:00
mrT23
b884920ef2
Refactor github_app.py to improve handling of PR events and comments
2024-02-22 17:26:47 +02:00
Ori Kotek
4ebac16ff7
Add support for analytics file
2024-02-22 13:21:56 +02:00
Ori Kotek
e3dba12fea
Adds an option to ignore PR opens by regex matching
2024-02-22 12:14:04 +02:00
mrT23
4d0f691b64
repo_settings
2024-02-21 18:23:34 +02:00
Ori Kotek
048d90623f
Ignore comment not starting with a slash
2024-02-21 17:59:58 +02:00
mrT23
8ffdaf00c1
repo_settings
2024-02-21 17:18:54 +02:00
mrT23
fc7b267c9a
self.diff_files
2024-02-21 17:00:11 +02:00
mrT23
e291bd352e
protections
2024-02-21 16:46:57 +02:00
mrT23
f08ce53de3
Optimize PR commit retrieval and caching in GitHub provider and utils
2024-02-21 16:33:32 +02:00
mrT23
b1dfd905c4
text
2024-02-21 09:40:39 +02:00
mrT23
dd5386e07e
try-except
2024-02-21 09:27:40 +02:00
mrT23
275f0d6a05
Update GitLab configuration and documentation for webhook setup
2024-02-21 09:20:28 +02:00
mrT23
0e3417b4ab
webhook
2024-02-21 08:55:59 +02:00
mrT23
4a0b12c036
Refactor reaction handling in GitHub provider and update help text in PR tools
2024-02-20 08:06:33 +02:00
Tal
6eca495801
Merge pull request #666 from yochail/yochail/support_azure_devops_managed_identity
...
Add Az Devops managed identity support
2024-02-19 21:44:23 -08:00
mrT23
82ba285395
finalize
2024-02-19 21:44:00 +02:00
mrT23
2be0339a27
help improved
2024-02-19 21:42:13 +02:00
mrT23
8d6c6a35db
help improved
2024-02-19 21:10:20 +02:00
mrT23
34e89e45bd
help improved
2024-02-19 21:07:24 +02:00
mrT23
0f815876e5
bitbucket code suggestions
2024-02-19 19:46:57 +02:00
mrT23
d47a840179
bitbucket code suggestions
2024-02-19 19:43:31 +02:00
Yochai Lehman
3770704db7
reset commit
2024-02-19 08:35:45 -05:00
mrT23
36aa22bd18
Refactor PR help message and update related documentation
2024-02-19 08:30:45 +02:00
mrT23
28e8707c1b
Added PRHelpMessage to command execution in pr_agent.py
2024-02-18 13:16:07 +02:00
mrT23
687ece1e86
Added PRHelpMessage to command execution in pr_agent.py
2024-02-18 13:09:17 +02:00
mrT23
0515b80247
Added PRHelpMessage to command execution in pr_agent.py
2024-02-18 13:08:05 +02:00
mrT23
ed5856493c
Added PRHelpMessage to command execution in pr_agent.py
2024-02-18 13:06:57 +02:00
mrT23
e9382b18b6
Added PRHelpMessage to command execution in pr_agent.py
2024-02-18 12:01:16 +02:00
mrT23
688cb374f6
lint
2024-02-18 08:19:01 +02:00
Tal
7b15101051
Merge pull request #661 from Codium-ai/hl/ask_line
...
Hl/ask line
2024-02-17 22:08:55 -08:00
Tal
cd8a40c7a6
Merge pull request #665 from Codium-ai/tr/checks_readme
...
Update README and documentation with new CI Feedback tool
2024-02-17 22:04:59 -08:00
Tal
2b12042a85
Merge pull request #667 from Codium-ai/tr_ado
...
azure webhook
2024-02-17 22:01:57 -08:00
mrT23
c6cb0524b4
rstrip
2024-02-18 07:56:14 +02:00
mrT23
481a4fe7a1
revert
2024-02-17 19:43:34 +02:00
mrT23
de4af313ba
azure dev ops
2024-02-17 19:40:06 +02:00
yochail
b402bd5591
revert azuredevops_provider.py change
2024-02-17 08:36:26 -05:00
mrT23
cb3ebd9169
Update README and documentation with new CI Feedback tool
2024-02-16 20:40:45 +02:00
mrT23
c98e736e3b
added github action support
2024-02-16 14:49:01 +02:00
mrT23
40fbd55da4
added github action support
2024-02-16 12:58:55 +02:00
Hussam.lawen
3eef0a4ebd
fix line selection, don't support line deletions
2024-02-15 22:21:58 +02:00
Hussam.lawen
6712c0a7f8
remove unnecessary call
2024-02-15 21:43:25 +02:00
Hussam.lawen
cfe794947d
Gitlab /ask line works
2024-02-15 21:35:51 +02:00
Hussam.lawen
24dd57e5b7
clean
2024-02-15 17:14:06 +02:00
Hussam.lawen
fff52e9e26
Add ask line feature
2024-02-15 14:25:22 +02:00
Ori Kotek
433b8d24b8
Add logging context to command execution in pr_agent.py
2024-02-15 12:13:56 +02:00
mrT23
bd88c66717
Merge remote-tracking branch 'origin/main'
2024-02-15 08:45:25 +02:00
mrT23
d2ad8b1dbd
Refactor publish_persistent_comment method to include name parameter
2024-02-15 08:45:17 +02:00
yochail
1053fa84f6
rename azure_devops_server var
2024-02-13 22:27:07 -05:00
mrT23
54a989d30f
no html bitbucket
2024-02-13 18:37:48 +02:00
mrT23
480a890741
no html bitbucket
2024-02-13 18:33:22 +02:00
mrT23
2f327c26e8
auto approve
2024-02-13 11:21:59 +02:00
yochail
9ff62dce08
Add legacy url support
2024-02-12 18:40:06 -05:00
yochail
e8c2ec034d
Update azuredevops_server_webhook.py
...
fix returned HTTP status
2024-02-12 18:38:08 -05:00
yochail
bbd0d62c85
fix auto_describe key
2024-02-11 18:10:22 -05:00
yochail
8fa058ff7f
add azure devops pat to secret template config
2024-02-11 18:06:56 -05:00
yochail
34378384da
add get endpoint for container status
2024-02-11 17:59:02 -05:00
Yochai Lehman
95344c7083
fix basic auth
2024-02-11 17:42:06 -05:00
Yochai Lehman
bc38fad4db
add support for auto events
2024-02-11 17:23:56 -05:00
Yochai Lehman
076d8e7187
fix PR code suggestions
2024-02-11 17:17:25 -05:00
Yochai Lehman
22d0c275d7
fix PR comments
2024-02-11 17:13:59 -05:00
Yochai Lehman
86d4a31eef
add docs
2024-02-11 17:02:14 -05:00
Yochai Lehman
9a54be5414
add webhook support
2024-02-11 16:52:49 -05:00
Tal
ec2aab805d
Merge pull request #650 from yochail/yocail/support_azure_inline_comment
...
Support Azure Inline Comment
2024-02-11 10:54:10 -08:00
yochail
47060ddcac
fix PR comments
...
- added line position
- added try-catch per comment
2024-02-11 12:40:36 -05:00
Tal
60d6fecd37
Merge pull request #653 from Codium-ai/hl/loading_improve
...
add loading comment to /improve
2024-02-11 07:28:57 -08:00
Ori Kotek
8a677e07a2
Fix a typo
2024-02-11 16:39:38 +02:00
Ori Kotek
3f42bb6793
Add AI disclaimer fields to configuration.toml
2024-02-11 16:22:26 +02:00
Tal
159e2f7dd6
Merge pull request #654 from rajyan/rajyan-patch-2
...
add pull_request event triggers for github action
2024-02-11 06:08:48 -08:00
Yohta Kimura
67fde2c17e
add pull_request event triggers for github action
...
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
2024-02-11 21:21:20 +09:00
Hussam.lawen
0e08520c0c
match pr-pro
2024-02-11 13:21:59 +02:00
Hussam.lawen
6c500413f1
default behavior for bitbucket
2024-02-11 13:14:47 +02:00
Hussam.lawen
73d2b1565d
Implement edit comment
2024-02-11 12:31:30 +02:00
Hussam.lawen
a40643bbba
add return response
2024-02-11 12:20:06 +02:00
Hussam.lawen
d93a24bbf7
add loading comment to /improve
2024-02-11 12:14:25 +02:00
mrT23
c75413fac5
count_chars_without_html
2024-02-11 11:37:11 +02:00
mrT23
4e386153ea
insert_br_after_x_chars can already handle code
2024-02-11 11:32:16 +02:00
mrT23
7c9b65ba65
prompts
2024-02-11 08:05:09 +02:00
yochail
ba854c228b
Update azuredevops_provider.py
2024-02-10 22:36:01 -05:00
yochail
d8ea2731ea
add support for azure inline commnets
2024-02-11 03:27:47 +00:00
mrT23
078e87139a
possible_issues
2024-02-09 21:34:07 +02:00
mrT23
bf11033349
possible_issues
2024-02-09 21:27:22 +02:00
mrT23
01fbebfc5e
relevant tests
2024-02-09 12:50:51 +02:00
mrT23
796e203c01
rstrip()
2024-02-09 11:45:12 +02:00
mrT23
6837e43114
help
2024-02-09 11:30:28 +02:00
mrT23
555151602f
rstrip()
2024-02-09 11:26:43 +02:00
mrT23
f74b35fb6f
Merge remote-tracking branch 'origin/main' into hl/pr_review_table
2024-02-09 11:05:13 +02:00
mrT23
f8e1bd3d4c
get_pr_url
2024-02-09 11:02:23 +02:00
Hussam.lawen
5af9e8e749
fix
2024-02-08 23:53:29 +02:00
Hussam.lawen
77e7463395
fix tests
2024-02-08 20:14:25 +02:00
mrT23
2e1462580f
s
2024-02-08 19:02:56 +02:00
mrT23
fa077dc516
formatting
2024-02-08 18:55:58 +02:00
Hussam.lawen
a3f4c44632
PR Review
2024-02-08 15:25:43 +02:00
Hussam.lawen
4447110118
small fix
2024-02-08 14:35:39 +02:00
Hussam.lawen
c2088b7752
Merge commit 'e4f177908b620e46740b03966fda9243473d979e' into hl/pr_review_table
2024-02-08 14:26:29 +02:00
Hussam.lawen
ddb89a7474
New PR Reviewer with Table view
2024-02-08 14:26:14 +02:00
mrT23
b077873c3d
parallel_calls
2024-02-07 08:00:16 +02:00
mrT23
a7ce2b11b4
parallel_calls
2024-02-07 08:00:01 +02:00
mrT23
1c9bd3e9a8
get_pr_url
2024-02-06 09:26:00 +02:00
mrT23
3e96812c5d
Merge remote-tracking branch 'origin/main' into tr/auto_approve
2024-02-06 09:10:00 +02:00
mrT23
b190b1879e
auto approval
2024-02-06 09:09:07 +02:00
Tal
4636c8a1fa
Merge pull request #634 from Codium-ai/tr/secret_provider
...
protections for 'get_secret_provider'
2024-02-05 21:46:17 -08:00
mrT23
c1c7b3b6da
fixed code
2024-02-05 13:00:57 +02:00
mrT23
2b6e8c3f09
minor change
2024-02-05 12:39:03 +02:00
mrT23
cce3c70369
- patch_extra_lines = 1
...
- describe is with turbo model (for larger context)
2024-02-05 12:03:30 +02:00
mrT23
32e8ba331a
insert_br_after_x_chars
2024-02-05 10:12:47 +02:00
mrT23
2ee329674f
insert_br_after_x_chars
2024-02-05 09:20:36 +02:00
mrT23
e104bd7a3f
large patch protection
2024-02-04 16:27:57 +02:00
mrT23
3e128869dc
large patch protection
2024-02-04 16:10:53 +02:00
mrT23
e1b0e4a40a
minor prompt changes
2024-02-04 14:24:55 +02:00
mrT23
d04d8b616a
moving the 'improve' command to turbo mode, with auto_extended=true
2024-02-01 09:46:04 +02:00
mrT23
9579be028d
protections for 'get_secret_provider'
2024-02-01 08:31:11 +02:00
mrT23
15c8fe94bb
feat: Improve patch formatting and handle empty data in pr_code_suggestions.py
2024-01-29 22:00:11 +02:00
mrT23
0d86779799
feat: Improve patch formatting and handle empty data in pr_code_suggestions.py
2024-01-29 21:52:54 +02:00
mrT23
6565556e01
feat: Add 'language' field to CodeSuggestion, FileDescription, and ReviewerPrompt models in settings files
2024-01-29 20:51:24 +02:00
mrT23
8d36e2e2f7
feat: Add new configuration options in pr_test section and update TEST.md documentation
2024-01-29 20:17:39 +02:00
mrT23
40a7ef9132
s
2024-01-29 11:42:32 +02:00
mrT23
042eab1641
s
2024-01-29 11:39:50 +02:00
mrT23
47af04d158
s
2024-01-28 20:26:58 +02:00
mrT23
98ce0a7036
s
2024-01-27 21:25:43 +02:00
mrT23
06dede29f2
feat: Update configuration and handling of GitHub Action settings
2024-01-27 21:15:23 +02:00
Hussam.lawen
07eaa59e78
small fixes
2024-01-25 11:07:43 +02:00
mrT23
4077c5556d
enable_review_labels_effort set to true by default
2024-01-24 19:49:43 +02:00
mrT23
d8465ea9f9
removed include_improved_code
2024-01-24 19:47:30 +02:00
mrT23
f4037e0dfa
feat: Add LanceDB support for similar_issue tool and refactor SOC2 compliance feature name
2024-01-24 19:40:58 +02:00
Hussam.lawen
60c0371854
highlight options
2024-01-23 18:13:08 +02:00
Hussam.lawen
139bbfc67a
update docs and usage guide
2024-01-23 17:58:55 +02:00
Hussam.lawen
968684b461
update default config for inline_file_summary to false
2024-01-22 10:25:34 +02:00
Hussam.lawen
8d513e078a
Add changes title of files and improve table style and alignments
2024-01-21 13:43:37 +02:00
Tal
2430a1a608
Merge pull request #594 from Codium-ai/tr/fallback_bad_review_comment
...
Enhanced Comment Verification and Fallback Mechanism for Inline Comment Publishing
2024-01-20 02:04:06 -08:00
mrT23
e54388d807
s
2024-01-20 11:59:45 +02:00
mrT23
d942bdb8bd
s
2024-01-20 11:56:17 +02:00
Tal
84d87aa870
Merge pull request #607 from Codium-ai/tr/edge_cases
...
feat: Improve error handling and code readability in pr_agent tools
2024-01-18 07:09:07 -08:00
mrT23
39891e4ab1
feat: Improve error handling and code readability in pr_agent tools
2024-01-18 17:01:25 +02:00
Sagi Medina
d7858efbbe
Merge pull request #581 from Codium-ai/sm/azure_devops
...
Enhancement of AzureDevopsProvider with new functionalities and refactoring
2024-01-18 16:28:28 +02:00
mrT23
fc5b00f4d3
s
2024-01-18 16:11:44 +02:00
Hussam.lawen
472646ddfd
Readme
2024-01-17 16:27:07 +02:00
mrT23
e4af0b22ad
s
2024-01-17 15:51:42 +02:00
mrT23
4e833c0c28
s
2024-01-17 15:43:01 +02:00
mrT23
e66bd7caa7
fallback to commitable
2024-01-17 11:18:30 +02:00
mrT23
58163e5129
improve usage guide
2024-01-17 09:50:48 +02:00
Hussam.lawen
d7e0aad527
small fixes
2024-01-16 09:41:31 +02:00
Hussam.lawen
31576b77ff
improve backticks
2024-01-15 19:07:41 +02:00
Hussam.lawen
ea39e8684f
works
2024-01-15 16:42:50 +02:00
Hussam.lawen
afefc15b9c
improve doce suggestions UI with difflib
2024-01-15 15:56:48 +02:00
Hussam.lawen
5e17ccaf86
add colaplsable
2024-01-15 15:17:57 +02:00
Hussam.lawen
9b1eb86d75
first iteration of improved UI for /improve --extended
2024-01-15 15:10:54 +02:00
mrT23
9f5c2e5f17
feat: Refactor comment verification in github_provider.py
2024-01-14 11:55:07 +02:00
mrT23
7377f4e4b2
feat: Refactor comment verification in github_provider.py
2024-01-14 11:49:51 +02:00
mrT23
d6f4c1638d
feat: Refactor comment verification in github_provider.py
2024-01-14 10:49:05 +02:00
zmeir
b9951fce62
Typo when parsing the suggestion part
2024-01-10 11:59:45 +02:00
Tal
609836bd6a
Merge pull request #587 from Codium-ai/tr/abbrevations
...
Enhancement: Improve PR-Agent Tool with Custom Labels, Extra Instructions, and Summarize Mode
2024-01-09 23:39:04 -08:00
mrT23
09ee0b64ba
feat: Refactor instructions and fields in pr_code_suggestions_prompts.toml
2024-01-10 09:37:05 +02:00
Tal
fb4746fd09
Merge pull request #584 from samanhappy/link
...
Fix link formatting for relevant_line
2024-01-09 23:22:55 -08:00
mrT23
729b5d11c9
feat: Refactor instructions and fields in pr_code_suggestions_prompts.toml
2024-01-09 22:56:25 +02:00
mrT23
fc502a6fd5
feat: Refactor instructions and fields in pr_code_suggestions_prompts.toml
2024-01-09 22:49:26 +02:00
mrT23
2b607dbd9a
feat: Refactor instructions and fields in pr_code_suggestions_prompts.toml
2024-01-09 22:32:09 +02:00
mrT23
9c6aabb0bb
feat: Add custom labels and extra instructions sections to help.py, summarize mode to pr_code_suggestions.py, and summarize mode condition to pr_code_suggestions_prompts.toml
2024-01-09 22:09:48 +02:00
mrT23
a42e57d09b
ask helper
2024-01-09 16:36:39 +02:00
mrT23
e56c443fd6
ask helper
2024-01-09 16:34:27 +02:00
mrT23
abc05e7711
ask helper
2024-01-09 16:25:23 +02:00
zmeir
19c14b940e
Try fixing invalid inline comments
2024-01-09 09:54:29 +02:00
samanhappy
36f1cfb51f
Enhancement: Update GitLab link generation to support self-managed GitLab server and different projects
2024-01-09 15:11:27 +08:00
samanhappy
0f2a4654a7
Fix link formatting for relevant_line
2024-01-09 14:56:18 +08:00
zmeir
28c5ad1d8b
nit
2024-01-08 13:06:03 +02:00
zmeir
2bb5ae8c0d
Remove redundant condition (status 422 already means the same)
2024-01-08 13:05:10 +02:00
zmeir
b0bffdec84
Refactor and add configuration toggle
2024-01-08 12:00:20 +02:00
mrT23
e0f4bc7ded
feat: Remove bot help text from github_polling.py
2024-01-08 11:45:01 +02:00
mrT23
e9a2a0a96f
s
2024-01-08 10:37:51 +02:00
mrT23
46a38473e4
Merge remote-tracking branch 'origin/main' into tr/unique_titles
2024-01-08 10:30:58 +02:00
mrT23
c9e55be275
s
2024-01-08 10:30:47 +02:00
mrT23
8bb2eb48af
s
2024-01-08 09:43:34 +02:00
mrT23
9cfb8ce475
s
2024-01-08 09:39:19 +02:00
mrT23
67cb133c52
s
2024-01-08 09:28:44 +02:00
mrT23
9c054bb80f
s
2024-01-08 09:18:46 +02:00
Sagi Medina
b776e5069c
feat: Refactor AzureDevopsProvider class in azuredevops_provider.py
...
- Reorder class methods and constructor for better readability
- Add error logging for failed operations
- Implement get_pr_description_full method
- Update get_pr_description method to always return full description
- Modify _parse_pr_url method to return workspace_slug, repo_slug, and pr_number
- Make _get_azure_devops_client a static method
- Add error handling in get_pr_id method
2024-01-08 09:15:34 +02:00
Sagi Medina
c8bca487e5
feat: Implement methods in AzureDevopsProvider for publishing code suggestions, labels, and removing comments
2024-01-08 08:59:12 +02:00
Tal
78fa61eac6
Merge branch 'main' into tr/user_description
2024-01-07 22:55:18 -08:00
mrT23
3ea08a6cf5
feat: Add debug logs to git_provider and pr_description modules
2024-01-07 19:57:49 +02:00
mrT23
3154ebbf9f
feat: Add debug logs to git_provider and pr_description modules
2024-01-07 19:56:05 +02:00
mrT23
a6bbd04efb
s
2024-01-07 17:02:18 +02:00
mrT23
578d15c6fc
usage guide
2024-01-07 16:38:08 +02:00
zmeir
22d17985a1
Less noisy fallback for publish_code_suggestions in case of invalid comments
...
As a first option, `publish_code_suggestions` will try to post all review comments in a single GitHub review. This is preferred because it will group all comments together in the GitHub UI under the same review, and will trigger just one notification for any viewers of the PR.
If just one of the comments is malformed, the entire API request will fail and none of the comments will be posted to the PR. In the current implementation, the fallback mechanism is to just post each comment separately with `try/except` and skip the invalid comments. This works, but potentially creates a lot of noise in the PR as each comment is posted as in a separate review, creating multiple notifications.
This suggested fallback is based on a similar idea, but without creating multiple review notifications. The it works is by iterating over the potential comments, and starting a PENDING review for the current comment. The review is not submitted and does not trigger a notification, but it is verified against the GitHub API, and so we can verify if the comment is valid. After checking all comments we then submit a single review with all the verified comments which is guaranteed to succeed.
The end result is having the exact same comments posted to the PR as with the current fallback method, but the downside is having twice as many API calls (for each comment we have 1 extra API call to delete the pending review).
2024-01-07 16:00:44 +02:00
mrT23
edcb666fbc
docs: Reorganize and enhance documentation for review and describe tools
2024-01-07 09:28:06 +02:00
mrT23
355ef8c476
feat: Update adaptive collapsible file list logic in pr_description.py
2024-01-06 10:36:36 +02:00
mrT23
22b7dd9f2d
s
2024-01-06 10:15:04 +02:00
mrT23
ac74fa8431
docs
2024-01-05 21:28:54 +02:00
mrT23
42704d5781
Merge remote-tracking branch 'origin/main' into tr/user_description
2024-01-05 17:03:30 +02:00
mrT23
3628786a61
feat: Clarify PRType label member usage in pr_description_prompts.toml
2024-01-05 17:03:14 +02:00
Tal
fe6b2065fb
Merge pull request #569 from zmeir/zmeir/enhance/auto_improve_extended_simple
...
Add toggle to automatically enable `/improve --extended`
2024-01-04 09:06:08 -08:00
Zohar Meir
c2b0891c0b
Simpler auto-extended toggle and keep the default as false
2024-01-04 18:53:45 +02:00
Tal
782f1ca1bd
Merge pull request #568 from Codium-ai/tr/user_description
...
Enhancement: Improved Extraction and Placement of User Descriptions in PRs
2024-01-04 08:35:34 -08:00
mrT23
6d18a0c843
feat: Improve user description extraction in git_provider.py
2024-01-04 18:34:00 +02:00
Tal
e6093cd768
Merge pull request #567 from zmeir/zmeir/enhance/support_azure_in_langchain_ai_handler
...
Add support for Azure OpenAI in LangChainOpenAIHandler
2024-01-04 08:22:01 -08:00
mrT23
1c2bb2ef3d
feat: Update user description extraction and placement in PR description
2024-01-04 18:05:28 +02:00
mrT23
7762bf59bf
feat: Update user description extraction and placement in PR description
2024-01-04 18:01:55 +02:00
mrT23
3e29848cd0
Merge remote-tracking branch 'origin/main' into tr/user_description
...
# Conflicts:
# pr_agent/git_providers/git_provider.py
2024-01-04 17:49:10 +02:00
mrT23
c3b5aaf8cc
feat: Update user description extraction and placement in PR description
2024-01-04 17:46:24 +02:00
zmeir
ba3f22d81e
Move logging to a central location for all AI Handlers
2024-01-04 16:22:22 +02:00
zmeir
ac7aaa0cd3
Add support for Azure OpenAI in LangChainOpenAIHandler
2024-01-04 16:22:22 +02:00
zmeir
1ade09eaa3
Fix failing /config command
...
All commands need the `ai_handler` argument. The PRConfig class was missing it in the `__init__` method and so it failed with this error:
```
File "/home/vcap/app/pr_agent/agent/pr_agent.py", line 76, in handle_request
await command2class[action](pr_url, ai_handler=self.ai_handler, args=args).run()
TypeError: PRConfig.__init__() got an unexpected keyword argument 'ai_handler'
```
2024-01-04 14:49:34 +02:00
Tal
b7af45166a
Merge pull request #561 from zmeir/zmeir/fix/get_user_description
...
Fix `get_user_description`
2024-01-04 00:40:08 -08:00
mrT23
ed78bfd946
use_collapsible_file_list
2024-01-04 10:27:07 +02:00
mrT23
4204d78d7e
feat: Remove file walkthrough feature from PR agent
2024-01-04 09:59:44 +02:00
mrT23
3c2ed8bbf1
feat: Remove file walkthrough feature from PR agent
2024-01-04 09:42:15 +02:00
Zohar Meir
8d2da74380
Find user description in a case-insensitive way
2024-01-04 09:41:55 +02:00
Zohar Meir
39c1866121
Revert title() to capitalize()
2024-01-04 09:41:24 +02:00
zmeir
2f9fbbf0ac
Prevent reducing the number of suggestions if already low enough
2024-01-03 16:43:39 +02:00
zmeir
0189e12fb1
Automatically enable improve extended mode for large PRs
2024-01-03 16:43:38 +02:00
zmeir
967494ce17
Refine the prompt for add_docs command
...
I found that without it, python docstrings are sometimes suggested above the function signature, instead of below.
2024-01-03 12:27:23 +02:00
zmeir
560d30dbb1
Fix get_user_description
...
The headers changed from "PR Type"/"PR Description"/etc to "Type"/"Description"/etc
2024-01-03 12:20:51 +02:00
Phill Zarfos
0bd2f045a3
feat: Fix typo
2024-01-02 08:11:31 -05:00
mrT23
7dfc306e7c
feat: Add SOC2 compliance review feature to PR agent
2024-01-01 20:15:36 +02:00
KennyDizi
fce52a66ff
feat: Update enable_help_text flag explaination
2023-12-27 10:22:43 +07:00
KennyDizi
dff31ff8f5
feat: Fix typo
2023-12-27 10:17:56 +07:00
KennyDizi
37b040b50a
Use 'and' in lieu of '&' operator
2023-12-27 10:17:08 +07:00
KennyDizi
31168cd7de
Get PR review enable help text from setting
2023-12-27 10:12:41 +07:00
mrT23
815862e428
markdown
2023-12-26 17:06:29 +02:00
mrT23
b1ce29e27a
global configuration
2023-12-26 16:45:39 +02:00
mrT23
a6764c9058
feat: Update help text addition condition in pr_reviewer.py
2023-12-26 09:25:15 +02:00
mrT23
a854e1a408
feat: Refactor help text addition in pr_reviewer.py and update tool names in README.md
2023-12-26 09:18:38 +02:00
PrashantDixit-dev
26cb85c4f5
default pinecone
2023-12-25 14:50:15 +05:30
PrashantDixit-dev
1d435ef3fa
removed comments
2023-12-25 00:45:24 +05:30
PrashantDixit-dev
1632696c2f
Merge branch 'main' of github.com:PrashantDixit0/pr-agent
2023-12-25 00:41:28 +05:30
PrashantDixit-dev
d8d954bb0f
lancedb integration
2023-12-25 00:38:24 +05:30
mrT23
08e9a91021
Merge pull request #547 from Codium-ai/tr/readme_update
...
Readme for PR-Agent-Pro
2023-12-24 06:30:04 -08:00
mrT23
0c4d451d9a
readme
2023-12-24 16:18:20 +02:00
mrT23
e698c7e2f3
Merge pull request #546 from Codium-ai/tr/backticks_review
...
Single-label for suggestions
2023-12-24 03:35:49 -08:00
mrT23
663632e2d9
fixed bug
2023-12-24 10:27:48 +02:00
mrT23
5fd3fdfae1
feat: Add loop to populate suggestion_list in pr_code_suggestions.py
2023-12-24 10:08:36 +02:00
mrT23
47b267a73d
prompt
2023-12-24 09:52:59 +02:00
mrT23
5c49ff216a
feat: Update inline comment creation in git providers and improve code suggestion handling
...
- Update `create_inline_comment` method in various git providers to include `absolute_position` parameter
- Remove `create_inline_comment` method from providers that do not support inline comments
- Enhance `find_line_number_of_relevant_line_in_file` function to handle absolute position
- Modify `pr_code_suggestions.py` to handle improved code inclusion in suggestions
- Add `include_improved_code` configuration option in `configuration.toml` and update documentation accordingly
2023-12-24 09:44:08 +02:00
mrT23
5dc2595dcf
feat: Refactor code suggestion handling and update YAML schema in pr_code_suggestions.py and pr_code_suggestions_prompts.toml
...
- Update key names in pr_code_suggestions.py to use snake_case for consistency
- Implement removal of invalid suggestions where existing code is equal to improved code
- Update YAML parsing in _prepare_pr_code_suggestions method to include keys_fix_yaml parameter
- Refactor push_inline_code_suggestions method to use updated key names
- Update _prepare_prediction_extended method to use new key names
- Refactor _prepare_markdown method to include suggestion label and use updated key names
- Update instructions and YAML schema in pr_code_suggestions_prompts.toml to reflect changes in pr_code_suggestions.py
- Remove redundant removal of invalid suggestions in rank_suggestions method
2023-12-24 08:30:35 +02:00
mrT23
664b1c9d17
Merge pull request #545 from Codium-ai/tr/backticks_review
...
feat: Improve suggestion formatting in markdown text generation
2023-12-23 10:41:17 -08:00
mrT23
ba7781ba00
feat: Update instruction formatting in pr_code_suggestions_prompts.toml and pr_reviewer_prompts.toml
2023-12-23 20:40:30 +02:00
mrT23
42be96a99b
feat: Improve suggestion formatting in markdown text generation
2023-12-23 20:32:03 +02:00
mrT23
eca8078071
feat: Reorder keys in PR description data and update PRDescription model in toml file
2023-12-21 08:51:57 +02:00
mrT23
9995ccd4c7
feat: Update PR description prompts in toml file to include semantic file types and custom labels options
2023-12-21 08:31:54 +02:00
mrT23
2b23700aec
feat: Enhance YAML parsing with additional fallbacks and key customization in load_yaml and try_fix_yaml functions
2023-12-21 08:24:07 +02:00
mrT23
553dad0bee
feat: Enhance YAML parsing with additional fallbacks and key customization in load_yaml and try_fix_yaml functions
2023-12-21 08:21:34 +02:00
mrT23
37259e550f
Merge pull request #540 from Codium-ai/tr/backticks
...
Enhancement of PR Description Formatting and Instructions Update
2023-12-20 22:16:53 -08:00
mrT23
66cbd6ef8f
Merge pull request #537 from koid/feature/ignore-header-description-in-ai-response
...
Enhancement of AI Response Parsing Mechanism
2023-12-20 22:15:43 -08:00
koid
a9d789978b
fix: remove last line
2023-12-21 11:11:46 +09:00
koid
e2797ad09a
re-implemented YAML extraction as a fallback
2023-12-21 11:06:41 +09:00
Ori Kotek
ccb116922f
Merge pull request #529 from lukefx/bitbucket_webhook_improvements
...
feat: Improved server, security and commands
2023-12-20 17:27:06 +02:00
mrT23
c079deba21
feat: Enhance PR description formatting and update instructions in pr_description_prompts.toml
2023-12-20 16:45:21 +02:00
koid
16b61eb4e8
ignore header description in ai response
2023-12-20 11:50:27 +09:00
Hussam.lawen
6e63cf4014
Add log
2023-12-18 17:35:04 +02:00
Hussam.lawen
c59e9f77a6
fix
2023-12-18 17:06:02 +02:00
Luca Simone
e25980f141
fix: using the same get_settings convention
2023-12-18 14:58:25 +01:00
mrT23
d2aef95847
Merge pull request #530 from Codium-ai/tr/labels
...
Enhancement: Implement label case conversion and update label descriptions in settings files
2023-12-18 03:21:48 -08:00
mrT23
1c4e64333c
feat: Implement label case conversion and update label descriptions in settings files
2023-12-18 12:29:06 +02:00
Luca Simone
7a5acb29ac
feat: Improved server, security and commands
...
Signed-off-by: Luca Simone <info@lucasimone.info>
2023-12-17 17:38:27 +01:00
mrT23
5fb373b212
Refactor AI handler instantiation to use lazy initialization in PR tools
2023-12-17 16:52:03 +02:00
mrT23
54891ad1d2
Merge pull request #514 from brianpham93/abstract-BaseAiHandler
...
Abstract AiHandler to BaseAiHandler
2023-12-14 07:54:13 -08:00
mrT23
02871b1e3d
Remove logging from pr_agent.py and add line breaks in cli.py and github_action_runner.py
2023-12-14 09:08:47 +02:00
mrT23
38ea9143f3
Make LangChain dependency optional in pr-agent and update requirements.txt
2023-12-14 09:05:53 +02:00
mrT23
246be6147f
Set LiteLLMAIHandler as default AI handler in all PR tools and simplify AI handler injection in PRAgent
2023-12-14 09:00:14 +02:00
mrT23
3531016a2c
Refactor AI handler instantiation in PRAgent and related classes
2023-12-14 08:53:22 +02:00
Brian Pham
e37598fdca
Merge remote-tracking branch 'upstream/main' into abstract-BaseAiHandler
2023-12-14 07:45:43 +08:00
Brian Pham
557b39ec87
Merge branch 'base-ai-handler' into abstract-BaseAiHandler
2023-12-14 07:44:13 +08:00
Brian Pham
69a7c77a0d
Refactor PRAgent class and has_ai_handler_param
...
method
This commit refactors the PRAgent class and the has_ai_handler_param
method. The has_ai_handler_param method is moved outside the class and
made a standalone function. This change improves code organization and
readability. The has_ai_handler_param function now takes a class object
as a parameter and checks if the class constructor has an "ai_handler"
parameter. This refactoring is done to streamline the code and improve
its maintainability.
No issue references.
2023-12-14 07:15:56 +08:00
Hussam.lawen
89c30ab5dc
feat: Add repository labels retrieval function in gitlab_provider.py
2023-12-13 17:21:58 +02:00
Brian Pham
ebb2ed891b
Add logging to pr_agent.py
2023-12-13 08:16:45 +08:00
Brian Pham
8fb4a42ef1
Update AI handler instantiation in server files
2023-12-13 08:16:02 +08:00
Brian Pham
ca1ccd7b91
update base
2023-12-12 23:56:20 +08:00
Brian Pham
b7225cc674
update langchain
2023-12-12 23:52:50 +08:00
Brian Pham
a627dcd64f
Update langchain
2023-12-12 23:28:58 +08:00
Brian Pham
0c66554d50
langchain: move model and temperature to chat_completion
2023-12-12 23:07:46 +08:00
Brian Pham
6c7beccb4f
add LangChain AI Handler
2023-12-12 23:03:49 +08:00
Brian Pham
7eb2e769cf
Move ai handlers to specific folder
2023-12-12 23:03:38 +08:00
Brian Pham
5239e1c3e9
Load default AI Handler from util function
2023-12-12 21:51:05 +08:00
mrT23
648dd3299f
Merge pull request #521 from Codium-ai/tr/bitbucket_app
...
feat: Enable PR description publishing as comment in bitbucket_app.py
2023-12-12 00:27:48 -08:00
mrT23
512c92fe51
feat: Enable PR description publishing as comment in bitbucket_app.py
2023-12-12 10:19:17 +02:00
mrT23
1853b4ef47
Merge pull request #520 from Codium-ai/tr/bitbucket_app
...
Refactor auto tool execution order and enhance logging and documentation
2023-12-12 00:02:02 -08:00
mrT23
2f10b4f3c5
feat: Refactor auto tool execution order in bitbucket_app.py, add logging in pr_description.py, and update tool configuration instructions in Usage.md
2023-12-12 09:59:26 +02:00
mrT23
73a20076eb
Merge pull request #519 from Codium-ai/tr/bitbucket_app
...
Enhancement: Automatic Tool Configuration for Bitbucket App
2023-12-11 23:26:30 -08:00
mrT23
afb633811f
remove bad default
2023-12-12 09:18:51 +02:00
mrT23
81da328ae3
feat: Add automatic tool configuration for Bitbucket app in bitbucket_app.py and configuration.toml, update Usage.md
2023-12-12 08:06:20 +02:00
Hussam Lawen
729f5e9c8e
Merge pull request #518 from Codium-ai/hl/github_native_labels
...
Refactoring Label Handling Across Git Providers
2023-12-11 16:50:19 +02:00
Hussam.lawen
fdc776887d
Refactor labels
2023-12-11 16:47:38 +02:00
mrT23
cb64f92cce
Merge pull request #511 from Codium-ai/tr/local_settings_on_push
...
Enhancement: Apply Repository Settings on Every 'Synchronize' Event
2023-12-11 06:27:29 -08:00
mrT23
f3ad0e1d2a
Merge pull request #517 from Codium-ai/tr/main_tmp
...
Improve PR description formatting and handling in pr_description.py
2023-12-11 06:15:46 -08:00
mrT23
480e2ee678
feat: Improve PR description formatting in pr_description.py
2023-12-11 15:55:04 +02:00
mrT23
9b97073174
s
2023-12-11 12:00:44 +02:00
Brian Pham
ebf7027aab
add openai handler
2023-12-11 17:49:20 +08:00
Brian Pham
a1cbd80b2a
update base ai handler
2023-12-11 17:49:09 +08:00
Brian Pham
b8021d7ca3
rename file
2023-12-11 16:57:23 +08:00
Brian Pham
523a896465
Rename AiHandler to LiteLLMAiHandler
2023-12-11 16:56:49 +08:00
mrT23
02c0c89b13
feat: Add exception handling for discussion creation in gitlab_provider.py
2023-12-11 08:29:09 +02:00
mrT23
2b1e841ef1
s
2023-12-10 19:45:54 +02:00
mrT23
a247fc3263
s
2023-12-10 17:46:49 +02:00
mrT23
654938f27c
feat: Enhance code feedback formatting in utils.py
2023-12-10 17:30:27 +02:00
Brian Pham
b6409929d2
Remove extra code
2023-12-09 16:51:50 +00:00
Brian Pham
c0303ff9ec
Merge remote-tracking branch 'upstream/main' into abstract-BaseAiHandler
2023-12-09 16:47:13 +00:00
Brian Pham
f2abe5c73e
Abstract AiHandler to BaseAiHandler
2023-12-09 16:39:25 +00:00
Brian Pham
7e47baa9db
Refactor AI handler classes
2023-12-10 00:25:25 +08:00
mrT23
f908d02ab4
readme
2023-12-07 15:26:36 +02:00
mrT23
7d2a35e32c
final commit
2023-12-07 10:27:19 +02:00
mrT23
e351428848
s
2023-12-07 10:24:36 +02:00
mrT23
4cd6649a44
feat: Enhance PR description formatting in pr_description.py
...
Improve the table structure for relevant files in PR description by adjusting the header and filename display. Add padding for filename and change summary, and move diff_plus_minus to a separate column. Refactor _insert_br_after_x_chars function to accept a variable length parameter.
2023-12-07 10:14:18 +02:00
mrT23
e62acef6d2
s1
2023-12-07 09:50:36 +02:00
mrT23
a043eb939b
feat: Apply repo settings on push trigger in github_app.py
2023-12-07 08:42:18 +02:00
mrT23
a61e492fe1
feat: Refactor PR files processing into separate function in pr_description.py
2023-12-06 17:01:21 +02:00
mrT23
93b6d31505
s
2023-12-06 16:36:27 +02:00
mrT23
429aed04b1
s
2023-12-06 16:32:53 +02:00
mrT23
eeb20b055a
feat: Add line count to file patch info and enhance PR description formatting
2023-12-06 15:29:45 +02:00
mrT23
4b073b32a5
feat: Enhance PR description with file label dictionary and update prompts in pr_description_prompts.toml
2023-12-06 12:30:51 +02:00
mrT23
f629755a9a
feat: Refine field descriptions in pr_description_prompts.toml for semantic file labels
2023-12-06 10:59:44 +02:00
mrT23
c1ed3ee511
feat: Refine field descriptions in pr_description_prompts.toml for semantic file labels
2023-12-06 08:08:01 +02:00
mrT23
0b70e07b8c
feat: Improve formatting in help.py command descriptions
2023-12-05 18:26:35 +02:00
mrT23
862c236076
s
2023-12-05 18:10:13 +02:00
mrT23
cf3401536a
feat: Remove 'Refactoring' label from custom labels and update related descriptions
2023-12-05 07:48:21 +02:00
mrT23
2feaee4306
feat: Update field descriptions in pr_description_prompts.toml for clarity
2023-12-04 21:45:22 +02:00
mrT23
863eb0105d
feat: Refactor semantic labels in PR description and improve clarity in pr_description.py and pr_description_prompts.toml
2023-12-04 21:23:59 +02:00
mrT23
21a7a0f136
feat: Enhance link generation for relevant lines and refactor code in git providers and PR description tools
2023-12-04 21:06:56 +02:00
Hussam.lawen
d2a129fe30
Add labeling files
2023-12-04 18:22:35 +02:00
mrT23
fe796245a3
Merge pull request #501 from Codium-ai/tr/prompt_tuning
...
Refactoring and Enhancement of PR Agent Prompts
2023-12-04 03:18:12 -08:00
Phill Zarfos
317fec0536
Throw descriptive error message if model is not in MAX_TOKENS array
2023-12-03 21:06:55 -05:00
mrT23
4dcbce41c8
feat: Refine prompts and improve formatting in pr_sort_code_suggestions_prompts.toml and pr_update_changelog_prompts.toml
2023-12-03 17:27:22 +02:00
mrT23
b3fa654446
feat: Refactor prompts and improve formatting in pr_questions_prompts.toml
2023-12-03 17:23:52 +02:00
mrT23
e09439fc1b
feat: Enhance formatting and clarity in pr_information_from_user_prompts.toml
2023-12-03 17:17:24 +02:00
mrT23
324e481ce7
feat: Improve formatting and clarity in pr_custom_labels.toml
2023-12-03 17:15:29 +02:00
mrT23
abfad088e3
feat: Refine prompts and instructions in pr_add_docs.toml
2023-12-03 17:10:33 +02:00
mrT23
f30789e6c8
feat: Refactor and enhance prompts in pr_code_suggestions_prompts.toml
2023-12-03 16:59:47 +02:00
mrT23
5c01f97f54
feat: Enhance PR description prompts in pr_description_prompts.toml
2023-12-03 16:48:26 +02:00
mrT23
2d726edbe4
feat: Improve formatting and clarity in pr_reviewer_prompts.toml
2023-12-03 16:40:06 +02:00
mrT23
37812dfede
feat: Update pr_url assignment in github_provider.py for GitHub Actions compatibility
2023-12-03 11:34:17 +02:00
mrT23
586785ffde
feat: Add pr_url attribute to git providers and final update message in PR description
2023-12-03 10:46:02 +02:00
mrT23
3af9c3bfb9
feat: Enhance code suggestion publishing with language-specific formatting in pr_code_suggestions.py
2023-12-01 12:12:49 +02:00
mrT23
c22084c7ac
feat: Add exception handling for missing previous review in github_provider.py
2023-12-01 11:56:03 +02:00
mrT23
b90dde48c0
Merge pull request #483 from tmokmss/add-bedrock-support
...
Add Amazon Bedrock support
2023-11-29 03:08:01 -08:00
Ori Kotek
0e54a13272
Improve error handling in settings retrieval
...
Fix bug where default values were not being used in GitHub Action runners when environmental variables are not set. Now, if an environmental variable cannot be found and no default is given, the default value will be used if one exists. This will prevent errors during setup on different environments and ensure system stability.
2023-11-29 11:52:02 +02:00
Ori Kotek
b67d06ae59
"Add fallback to environment variables in GitHub Action Runner"
...
A new function `get_setting_or_env` was implemented to facilitate fetching of either settings or environmental variables in the GitHub Action Runner. This was necessary to resolve an issue where a certain undefined behaviour occurs in GitHub Actions, leading to an attribute error. The new function also provides a default value parameter to ensure the return of a value even in failed attempts to fetch from either settings or environment variables.
2023-11-29 11:47:52 +02:00
tmokmss
5e642c10fa
fallback to try_fix_yaml
2023-11-29 17:57:54 +09:00
Ori Kotek
580eede021
Add utility function to handle boolean type conversion
...
A utility function (`is_true`) was added to take care of validating and converting boolean values from string or boolean types. This function is used in three parts of the `run_action` method where automatic PR review, description, and improvement actions are triggered based on environment settings. This change makes the condition checks cleaner and prevents code duplication.
2023-11-29 10:33:12 +02:00
mrT23
ea56910a2f
Merge pull request #485 from Codium-ai/tr/bitbucket
...
Enhancement of Inline Comment Publishing in Bitbucket Provider and Logging Addition
2023-11-28 08:35:40 -08:00
mrT23
51e1278cd7
feat: Enhance inline comment publishing in Bitbucket provider and add logging for no suggestions in pr_code_suggestions.py
2023-11-28 18:29:35 +02:00
mrT23
7e029ead45
refactor: Improve label handling in pr_reviewer.py
2023-11-28 17:03:55 +02:00
tmokmss
f8f57419c4
Update ai_handler.py
2023-11-28 23:08:17 +09:00
tmokmss
917f4b6a01
hard code value
2023-11-28 20:59:21 +09:00
tmokmss
97d6fb999a
set max_tokens_to_sample
2023-11-28 20:58:57 +09:00
tmokmss
1373ca23fc
support Amazon Bedrock
2023-11-28 20:58:42 +09:00
mrT23
6264624c05
Merge branch 'main' into ok/fix_improve
2023-11-27 07:27:25 -08:00
Ori Kotek
2dcee63df5
fix improve
2023-11-27 12:32:53 +02:00
mrT23
b1c374808d
feat: Add line link generation in Bitbucket provider and improve markdown formatting in pr_code_suggestions.py and IMRPOVE.md
2023-11-26 17:12:02 +02:00
mrT23
20978402ea
s
2023-11-26 16:56:06 +02:00
mrT23
8f615e17a3
s
2023-11-26 16:42:41 +02:00
mrT23
5cbbaf44c9
feat: Add line link generation for GitLab and improve markdown formatting in pr_code_suggestions.py
2023-11-26 13:42:57 +02:00
mrT23
f96d4924e7
feat: Add line link generation in git providers and refactor code suggestions generation
2023-11-26 11:57:45 +02:00
mrT23
f36b672eaa
feat: Add option to summarize code suggestions in pr_code_suggestions.py
2023-11-26 11:22:14 +02:00
mrT23
668041c09f
Code suggestions guidelines:
2023-11-26 09:32:02 +02:00
mrT23
aa73eb2841
PR
2023-11-26 09:24:33 +02:00
mrT23
14d4ca8c74
PR
2023-11-26 09:22:19 +02:00
mrT23
690c113603
refactor: Improve clarity and consistency in pr_code_suggestions_prompts.toml and pr_reviewer_prompts.toml files
2023-11-26 09:17:42 +02:00
mrT23
1a28c77783
Previous description
2023-11-26 09:08:33 +02:00
mrT23
0326b7e4ac
refactor: Update PR prompts in toml files for clarity and consistency
2023-11-26 09:05:45 +02:00
mrT23
d8ae32fc55
language_extension_map
2023-11-26 08:52:55 +02:00
mrT23
8db2e3b2a0
feat: Enhance readability in toml files and add verbosity level logging in pr_generate_labels.py
2023-11-26 08:42:04 +02:00
mrT23
9465b7b577
refactor: Move clip_tokens function from pr_processing to utils module, and add tests
2023-11-26 08:29:47 +02:00
mrT23
d7df4287f8
feat: Update PR prompts in toml files to enhance readability and consistency
2023-11-26 08:17:16 +02:00
mrT23
b3238e90f2
s
2023-11-26 08:10:01 +02:00
mrT23
fdfd6247fb
Merge branch 'main' into tr/pydantic
2023-11-25 21:36:16 -08:00
mrT23
46d4d04e94
Merge pull request #455 from lukefx/bitbucket-server
...
Added BitBucket Server and Data Center support
2023-11-25 21:33:26 -08:00
Luca Simone
0f6564f42d
feat: Added server and documentation
2023-11-25 17:37:44 +01:00
mrT23
e80a0ed9c8
glob
2023-11-23 09:16:50 +02:00
Ori Kotek
613ccb4c34
Add support for base_url in GitHub SDK
2023-11-21 16:48:36 +02:00
Ori Kotek
2add584fbc
Fix a bug in GitLab webhook
2023-11-21 16:28:01 +02:00
mrT23
b3129c7dd9
Merge pull request #464 from Codium-ai/tr/more_protections
...
Refactor YAML parsing for improved error handling
2023-11-20 02:28:57 -08:00
mrT23
1b600cd85f
Refactor YAML parsing for improved error handling
2023-11-20 10:30:59 +02:00
mrT23
26cc26129c
Merge pull request #463 from Codium-ai/tr/more_protections
...
minor fix
2023-11-19 07:45:39 -08:00
mrT23
d1d7903e39
minor fix
2023-11-19 17:44:11 +02:00
mrT23
dff4d1befc
Merge pull request #462 from Codium-ai/tr/more_protections
...
Enhancements in YAML Parsing and Error Handling
2023-11-19 07:40:06 -08:00
mrT23
3504a64269
protections
2023-11-19 17:35:40 +02:00
mrT23
83247cadec
protections
2023-11-19 17:30:57 +02:00
mrT23
c7a681038d
gfm instructions
2023-11-19 11:11:11 +02:00
mrT23
eb977b4c24
gfm instructions
2023-11-19 11:02:11 +02:00
Luca Simone
b62e0967d5
fix: Revert back to exception since context.get will not throw KeyError
2023-11-17 10:08:40 +01:00
Luca Simone
26dc2e9d21
fix: raising exception instead of empty string
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-16 11:19:46 +01:00
Luca Simone
d78a71184d
fix: Use checked exception KeyError for missing key
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-16 10:59:01 +01:00
Luca Simone
eae30c32a2
fix: Use checked exception for ValueError
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-16 10:58:35 +01:00
mrT23
bc28d657b2
Merge pull request #438 from koid/fix/remove-unnecessary-setup
...
Removal of Redundant Logger Setup
2023-11-15 10:35:13 -08:00
Luca Simone
3fae5cbd8d
feat: Added BitBucket Server
...
Signed-off-by: Luca Simone <info@lucasimone.info>
2023-11-15 15:47:44 +01:00
mrT23
388cc740b6
Merge pull request #436 from rhyst/support-vertex-ai
...
Support Google's Vertex AI
2023-11-15 04:26:08 -08:00
mrT23
762a6981e1
extra_labels
2023-11-15 14:12:59 +02:00
mrT23
b362c406bc
Merge remote-tracking branch 'origin/main' into tr/review_extra_labels
2023-11-15 14:07:44 +02:00
mrT23
7a342d3312
extra_labels
2023-11-15 14:07:32 +02:00
mrT23
2e95988741
extra_labels
2023-11-15 14:04:17 +02:00
mrT23
9478447141
extra_labels
2023-11-15 14:02:13 +02:00
Rhys Tyers
557ec72bfe
Update documentation for Vertex AI
2023-11-15 10:27:48 +00:00
Rhys Tyers
6b4b16dcf9
Support Google's Vertex AI
2023-11-15 10:26:58 +00:00
mrT23
c4899a6c54
bitbucket
2023-11-15 12:11:02 +02:00
mrT23
24d82e65cb
gitlab
2023-11-15 09:45:10 +02:00
mrT23
2567a6cf27
gitlab
2023-11-15 09:40:45 +02:00
mrT23
94cb6b9795
more feedback
2023-11-15 09:06:26 +02:00
mrT23
0df0542958
prompt
2023-11-13 15:55:35 +02:00
Zohar Meir
7d89b82967
Fix get_user_description in case pr_description.enable_pr_type=false
...
Fixes an issue when getting the user description after a PR-Agent description was already generated, in case the configuration setting `pr_description.enable_pr_type` was `false`.
2023-11-13 14:41:14 +02:00
Hussam.lawen
a5e5a82952
s
2023-11-13 13:49:16 +02:00
Hussam.lawen
ccbb62b50a
remove the "one or more" for custom labels
2023-11-13 13:47:06 +02:00
mrT23
a8dddd1999
prompt
2023-11-13 12:14:18 +02:00
mrT23
f5c6dd55b8
triple quote
2023-11-13 12:04:58 +02:00
mrT23
0e932af2e3
multi line
2023-11-13 12:01:08 +02:00
mrT23
e9891fc530
s1
2023-11-12 16:37:53 +02:00
Ori Kotek
9e5e9afe92
Refactor CLI argument handling and request processing
2023-11-12 16:11:34 +02:00
mrT23
5e43c202dd
s1
2023-11-12 15:45:22 +02:00
mrT23
727eea2b62
s1
2023-11-12 15:00:06 +02:00
mrT23
8fdf174dec
fallback
2023-11-10 18:44:19 +02:00
mrT23
737792d83c
publish_persistent_comment
2023-11-09 15:24:55 +02:00
mrT23
7e5889061c
publish_persistent_comment
2023-11-09 15:20:31 +02:00
mrT23
755e04cf65
bitbucket finally works
2023-11-08 20:41:55 +02:00
mrT23
44d6c95714
response
2023-11-08 20:38:18 +02:00
mrT23
14610d5375
persistent
...
s
2023-11-08 20:16:08 +02:00
mrT23
c2bec614e5
s
2023-11-08 14:46:11 +02:00
mrT23
49725e92f2
s
2023-11-08 14:41:15 +02:00
mrT23
a1e32d8331
s
2023-11-08 14:36:59 +02:00
mrT23
0293412a42
s
2023-11-08 14:31:08 +02:00
mrT23
10ec0a1812
s
2023-11-08 14:21:03 +02:00
mrT23
69b68b78f5
s
2023-11-08 14:17:59 +02:00