Commit graph

2385 commits

Author SHA1 Message Date
Eyal Sharon
fb324d106c Remove non implemented method _prepare_clone_url_with_token from providers which don't support it and instead, issue a warning in base class. 2025-03-24 14:06:06 +02:00
Eyal Sharon
a4387b5829 Fix more /improve suggestions 2025-03-24 11:19:23 +02:00
Eyal Sharon
477ebf4926 Code recommendations from /improve 2025-03-24 10:54:50 +02:00
Eyal Sharon
e14fc7e02d Fix missing self.bearer_token for bitbucket related providers 2025-03-24 10:21:23 +02:00
Eyal Sharon
1bd65934df Merge origin/main into es/help_docs 2025-03-23 20:04:58 +02:00
Eyal Sharon
88a17848eb - Documentation
- Better error handling in case could not deduce repo url
2025-03-23 20:04:33 +02:00
Eyal Sharon
dd80276f3f Support cloning repo
Support forcing accurate token calculation (claude)
Help docs: Add desired branch in case of user supplied git repo, with default set to "main"
Better documentation for getting canonical url parts
2025-03-23 09:55:58 +02:00
cdornano
e925f31ac0
Update azuredevops_provider.py
Will make qodo agent comments "Active" by default, and not "ByDesign" which is renders to "unknown" on Azure DevOps PRs. With this, PR authors are obliged to treat the PR comment of the qodo agent before Merging. This will help companies in analysing the impact of qodo agent on their PR, as every comment needs to be treated as either "Resolved" "Won't fix" "Close"
2025-03-21 12:57:03 +00:00
Eyal Sharon
5e7e353670 Added help_docs feature. 2025-03-20 23:48:01 +02:00
ishaansehgal99
52d4312c9a fix: Logging and Commenting 2025-03-20 13:59:43 -07:00
Ishaan Sehgal
8ec6067b26
Merge branch 'qodo-ai:main' into main 2025-03-20 13:57:46 -07:00
ishaansehgal99
bc575e5a67 fix: Logging and Commenting 2025-03-20 13:55:07 -07:00
mrT23
b087458e33
Merge remote-tracking branch 'origin/main' 2025-03-20 21:49:27 +02:00
mrT23
6610921bba
cleanup 2025-03-20 21:49:19 +02:00
Ikko Eltociear Ashimine
fa77828db2
chore: update pr_reviewer_prompts.toml
minor fix
2025-03-18 03:52:36 +09:00
mrT23
1724a65ab2
docs: remove similar issues tool from documentation 2025-03-16 08:58:02 +02:00
mrT23
29e28056db
refactor: move response_language config to group with other language settings 2025-03-15 09:58:20 +02:00
mrT23
507cd6e675
skip in PR config 2025-03-15 09:56:57 +02:00
mrT23
f5e381e1b2
Add fallback for YAML parsing using original response text 2025-03-11 17:11:10 +02:00
mrT23
2cacaf56b0
Reduce collapsible_file_list_threshold from 8 to 6 2025-03-11 17:08:26 +02:00
mrT23
9a574e0caa
Add filter for files with bad extensions in language handler 2025-03-11 17:03:05 +02:00
mrT23
0f33750035
Remove unused filter_bad_extensions function and rename diff_files_original to diff_files 2025-03-11 16:56:41 +02:00
mrT23
4713175fcf
Update code suggestion evaluation criteria and line number descriptions 2025-03-11 16:50:42 +02:00
mrT23
d16012a568
Add decoupled and non-decoupled modes for code suggestions 2025-03-11 16:46:53 +02:00
mrT23
f5bd98a3b9
Add check for auto-generated files in language handler 2025-03-11 14:37:45 +02:00
Kenny Dizi
ffefcb8a04 Fix default value for extended_thinking_max_output_tokens 2025-03-11 17:48:12 +07:00
mrT23
35bb2b31e3
feat: add enable_comment_approval to encoded forbidden args 2025-03-10 12:10:19 +02:00
Tal
20d709075c
Merge pull request #1613 from qodo-ai/hl/update_auto_approve_docs
docs: update auto-approval documentation with clearer configuration
2025-03-10 11:56:48 +02:00
Tal
52c99e3f7b
Merge pull request #1605 from KennyDizi/main
Support extended thinking for model `claude-3-7-sonnet-20250219`
2025-03-09 17:03:37 +02:00
Hussam.lawen
884b49dd84
Add encoded: enable_manual_approval 2025-03-09 17:01:04 +02:00
Kenny Dizi
222155e4f2 Optimize logging 2025-03-08 08:53:29 +07:00
Kenny Dizi
f9d5e72058 Move logic to _configure_claude_extended_thinking 2025-03-08 08:35:34 +07:00
Tal
2619ff3eb3
Merge pull request #1612 from congziqi77/main
fix: repeat processing files to ignore
2025-03-07 21:08:46 +02:00
Tal
15e8167115
Update configuration.toml 2025-03-07 18:22:26 +02:00
Kenny Dizi
a8935dece3 Using 2048 for extended_thinking_budget_tokens as well as extended_thinking_max_output_tokens 2025-03-07 17:27:56 +07:00
congziqi
fd12191fcf fix: repeat processing files to ignore 2025-03-07 09:11:43 +08:00
muhammad-asn
4f2551e0a6 feat: add DeepInfra support 2025-03-06 15:49:07 +07:00
mrT23
4c0e371238
fix: validate one-liner suggestions to prevent repeating existing code 2025-03-06 08:18:52 +02:00
Kenny Dizi
30bf7572b0 Validate extended thinking parameters 2025-03-03 18:44:26 +07:00
Kenny Dizi
440d2368a4 Set temperature to 1 when using extended thinking 2025-03-03 18:30:52 +07:00
Kenny Dizi
215c10cc8c Add thinking block to request parameters 2025-03-03 18:29:33 +07:00
Kenny Dizi
7623e1a419 Removed trailing spaces 2025-03-03 18:23:45 +07:00
Kenny Dizi
5e30e190b8 Define models that support extended thinking feature 2025-03-03 18:22:31 +07:00
Kenny Dizi
5447dd2ac6 Add support claude extended thinking configurations 2025-03-03 18:21:57 +07:00
atsushi-ishibashi
8e6267b0e6 chore: bedrock/us.anthropic.claude-3-7-sonnet-20250219-v1:0 2025-03-02 08:44:23 +09:00
mrT23
7cf521c001
fix: improve null safety in GitLab webhook handler 2025-02-27 11:53:11 +02:00
mrT23
8182a4afc0
docs: update default model to o3-mini and improve language configuration instructions 2025-02-27 11:06:31 +02:00
mrT23
3817aa2868
fix: remove redundant temperature logging in litellm handler 2025-02-27 10:55:01 +02:00
mrT23
94a8606d24
fix: update default configuration values for publishing and verbosity 2025-02-27 10:52:20 +02:00
mrT23
af635650f1
fix: improve response language handling and configuration documentation 2025-02-27 10:50:28 +02:00
Tal
9a32e94b3e
Merge pull request #1579 from qodo-ai/response-language-configuration
Add a language configuration to translate language generated by QodoM…
2025-02-27 08:01:13 +02:00
Tal
48b3c69c10
Merge pull request #1575 from GOOD21/feature/draft-ready-trigger
gitlab webhook automatically trigger pr_command when MR changes from Draft to Ready
2025-02-27 07:57:12 +02:00
mrT23
64e5a87530
fix: improve error handling and null safety in PR description tool 2025-02-26 21:33:40 +02:00
mrT23
9a9acef0e8
fix: handle empty commits and errors in GitLab provider's get_latest_commit_url 2025-02-26 21:24:53 +02:00
Hussam Lawen
c7f4b87d6f
Merge pull request #1583 from qodo-ai/hl/enhance_azure_devops
feat: enhance Azure DevOps integration with improved error handling a…
2025-02-26 17:17:31 +02:00
Hussam Lawen
9db44b5f5f
Update pr_agent/servers/azuredevops_server_webhook.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-26 17:16:07 +02:00
Hussam.lawen
70a2377ac9
fix: make Azure DevOps webhook handler asynchronous 2025-02-26 17:13:38 +02:00
Hussam.lawen
52a68bcd44
fix: adjust newline formatting in issue details summary 2025-02-26 16:49:44 +02:00
Hussam.lawen
0a4c02c8b3
feat: enhance Azure DevOps integration with improved error handling and PR commands 2025-02-26 16:40:46 +02:00
AdamWalker-112358
e253f18e7f Remove default configuration 2025-02-26 14:43:56 +02:00
AdamWalker-112358
d6b6191f90 Remove uneccessary hardcoded configurations list 2025-02-26 14:42:32 +02:00
AdamWalker-112358
de80901284 Add a language configuration to translate language generated by QodoMerge, such as suggestions and desciption text 2025-02-26 14:37:15 +02:00
GOOD21
dfbd8dad5d Automatically trigger pr_command when MR changes from Draft to Ready 2025-02-26 18:12:48 +08:00
Tal
d6f405dd0d
Merge pull request #1564 from chandan84/fix/support_litellm_extra_headers
Fix/support litellm extra headers
2025-02-26 10:15:22 +02:00
Tal
25ba9414fe
Merge pull request #1561 from KennyDizi/main
Support reasoning effort via configuration
2025-02-26 10:13:05 +02:00
chandan84
93e34703ab
Update litellm_ai_handler.py
updates made based on review on https://github.com/qodo-ai/pr-agent/pull/1564
2025-02-25 14:44:03 -05:00
Tal
c6a6a2f352
Merge pull request #1570 from hirobf10/support-claude-3-7
feat: support Claude 3.7 Sonnet
2025-02-25 10:49:42 +02:00
Hiroyuki Otomo
1dc3db7322
Update pr_agent/algo/__init__.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-25 16:51:55 +09:00
Hiroyuki Otomo
049fc558a8
Update pr_agent/algo/__init__.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-25 16:51:50 +09:00
Hiroyuki Otomo
2dc89d0998
Update pr_agent/algo/__init__.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-25 16:51:39 +09:00
Tal
444910868e
Merge pull request #1555 from GOOD21/fix/push-events
Enhanced gitlab webhook handling for push events without object_attributes
2025-02-25 07:56:03 +02:00
Hiroyuki Otomo
a24b06b253 feat: support Claude 3.7 Sonnet 2025-02-25 12:58:20 +09:00
Tal
393516f746
Merge pull request #1556 from benedict-lee/main
Fix prompt to not output diff prefixes in existing_code,improved_code pydantic definitions
2025-02-24 22:10:30 +02:00
mrT23
56250f5ea8
feat: improve patch extension with new file content comparison 2025-02-24 11:46:12 +02:00
Benedict Lee
7b1df82c05
rollback : pr_code_suggestions_prompts.toml 2025-02-24 09:30:00 +09:00
Benedict Lee
05960f2c3f
rollback : pr_code_suggestions_prompts.toml 2025-02-24 09:15:51 +09:00
Benedict Lee
feb306727e
fix : refine handling of leading '+' in response text 2025-02-24 09:15:00 +09:00
Kenny Dizi
ebdbde1bca
Merge branch 'main' into main 2025-02-23 21:26:44 +07:00
mrT23
f0b52870a2
docs: update auto-approval feature documentation and configuration 2025-02-23 08:34:16 +02:00
mrT23
a0dc9deb30
docs: add auto-approval configuration documentation 2025-02-23 08:15:14 +02:00
chandan84
84983f3e9d line 253-261, pass extra_headers fields from settings to litellm, exception handling to check if extra_headers is in dict format 2025-02-22 14:56:17 -05:00
chandan84
71451de156
Update litellm_ai_handler.py
line 253-258, pass extra_headers fields from settings to litellm, exception handling to check if extra_headers is in dict format
2025-02-22 14:43:03 -05:00
chandan84
0e4a1d9ab8 line 253-258, pass extra_headers fields from settings to litellm, exception handling to check if extra_headers is in dict format 2025-02-22 14:38:38 -05:00
chandan84
e7b05732f8 line 253-255, pass extra_headers fields from settings to litellm 2025-02-22 14:12:39 -05:00
Trung Dinh
37083ae354 Improve logging for adding parameters: temperature and reasoning_effort 2025-02-22 22:19:58 +07:00
Trung Dinh
9abb212e83 Add reasoning_effort argument to chat completion request 2025-02-21 22:16:18 +07:00
Trung Dinh
e81b0dca30 Support reasoning_effort via configuration file 2025-02-21 22:14:58 +07:00
Trung Dinh
d37732c25d Define ReasoningEffort enum 2025-02-21 22:10:49 +07:00
Trung Dinh
e6b6e28d6b Define SUPPORT_REASONING_EFFORT_MODELS list 2025-02-21 22:10:33 +07:00
Tal
ac3dbdf5fc
Merge pull request #1529 from WonOfAKind/feature/sub-issues-ticket-1499
Added sub-issue fetching to enhance PR analysis
2025-02-21 09:42:18 +02:00
GOOD21
f143a24879 remove unnecessary code 2025-02-21 13:35:48 +08:00
GOOD21
347af1dd99 use merge_request with oldrev instead of push 2025-02-21 13:24:20 +08:00
Hussam Lawen
d91245a9d3
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 20:12:49 +02:00
Hussam Lawen
bfdaac0a05
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 20:11:25 +02:00
Wonchae Lee
183d2965d0
Update pr_agent/tools/ticket_pr_compliance_check.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:53:26 -05:00
Wonchae Lee
86647810e0
Update pr_agent/tools/ticket_pr_compliance_check.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:53:17 -05:00
Wonchae Lee
56978d9793
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:32:29 -05:00
Wonchae Lee
6433e827f4
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:32:22 -05:00
Wonchae Lee
c0e78ba522
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:32:14 -05:00
Wonchae Lee
45d776a1f7
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:32:06 -05:00
Wonchae Lee
6e19e77e5e
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:31:25 -05:00
mrT23
2887d0a7ed
refactor: move CLI argument validation to dedicated class 2025-02-20 17:51:16 +02:00
mrT23
a07f6855cb
feat: add current date to PR review metadata 2025-02-20 16:44:45 +02:00
Benedict Lee
237a6ffb5f
fix : existing and improved code fields to clarify formatting requirements 2025-02-20 11:52:53 +09:00
GOOD21
5e1cc12df4 Enhanced webhook handling for push events without object_attributes 2025-02-20 10:47:21 +08:00
Tal
35059cadf7
Update pr_agent/algo/ai_handlers/litellm_ai_handler.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-18 11:50:48 +02:00
Tal
0317951e32
Update pr_agent/settings/configuration.toml
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-18 11:48:25 +02:00
mrT23
4edb8b89d1
feat: add support for custom reasoning models 2025-02-18 11:46:22 +02:00
Yu Ishikawa
22f02ac08c Support generally available gemini-2.0-flash
Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>
2025-02-17 08:40:05 +09:00
Trung Dinh
adfc2a6b69 Add temperature only if model supports it 2025-02-16 15:43:40 +07:00
Trung Dinh
c4aa13e798 Add o1-preview model to USER_MESSAGE_ONLY_MODELS and NO_SUPPORT_TEMPERATURE_MODELS 2025-02-16 15:18:52 +07:00
Trung Dinh
90575e3f0d Add NO_SUPPORT_TEMPERATURE_MODELS list 2025-02-16 15:17:59 +07:00
Trung Dinh
fcbe986ec7 Removed o3 model from USER_MESSAGE_ONLY_MODELS 2025-02-16 15:17:12 +07:00
Trung Dinh
061fec0d36 Removed o1 model from USER_MESSAGE_ONLY_MODELS 2025-02-16 15:15:50 +07:00
Tal
359c963ad1
Merge pull request #1531 from hi120ki/add-pull-request-target-event
Add : pull_request_target event on GitHub Actions integration
2025-02-15 08:08:20 +02:00
mrT23
b989f41b96
fix: correct typo in help tool message ("be" -> "can be") 2025-02-13 11:48:07 +02:00
mrT23
26168a605b
fix: correct typo in help tool message ("be" -> "can be") 2025-02-13 11:47:21 +02:00
mrT23
2c37b02aa0
feat: improve help tool with markdown header formatting and error handling 2025-02-13 11:44:50 +02:00
mrT23
279c6ead8f
fix: update review effort label format to use X/5 notation 2025-02-13 08:41:25 +02:00
Hi120ki
c9500cf796
Add : pull_request_target event on GitHub Actions integration
Signed-off-by: Hi120ki <12624257+hi120ki@users.noreply.github.com>
2025-02-13 12:03:30 +09:00
WonOfAKind
0f63d8685f Added sub-issue fetching to enhance PR analysis 2025-02-12 19:40:36 -05:00
mrT23
69f19f1abd
feat: improve code suggestions impact levels with configurable thresholds 2025-02-05 09:41:01 +02:00
mrT23
400146985a
feat: improve code suggestions table with impact levels and styling 2025-02-05 09:31:32 +02:00
mrT23
24bf875db6
fix: handle GitHub permission errors when editing comments 2025-02-03 07:51:44 +02:00
Tal
d8fba02b48
Merge pull request #1509 from KennyDizi/main
Define user_message_only_models list for using user prompt only model
2025-02-02 16:14:05 +02:00
Trung Dinh
a6482c37ce Add o3-mini to user message only model list 2025-02-02 18:03:38 +07:00
Trung Dinh
83582bc935 Add support o3-mini model 2025-02-02 18:02:53 +07:00
Trung Dinh
4ac1e15bae Refactoring user messages only flow 2025-02-02 18:01:44 +07:00
Trung Dinh
a48686bde9 Define USER_MESSAGE_ONLY_MODELS in the algo init file 2025-02-02 18:01:16 +07:00
Trung Dinh
7168d16386 Remove user_message_only_models from configuration file 2025-02-02 18:00:34 +07:00
mrT23
7127a030b2
fix: improve error logging in GitHub polling service 2025-02-01 19:47:54 +02:00
Trung Dinh
48377e3c81 Add a null check for user_message_only_models before using it 2025-01-31 11:53:05 +07:00
Trung Dinh
7eb26b3220 Check current model is in user_message_only_models list 2025-01-31 11:25:51 +07:00
Trung Dinh
32ccb25575 Add user_message_only_models 2025-01-31 11:24:43 +07:00
mrT23
136c75a5ac
fix: add fallback for parsing AI responses with leading '+' symbols 2025-01-30 08:35:31 +02:00
mrT23
9da4c9d776
fix: correct typo in code suggestions label description 2025-01-28 08:36:36 +02:00
mrT23
e8a80264ca
fix: improve GitLab help message formatting with proper line breaks 2025-01-26 16:54:17 +02:00
Tal
2277a31661
Merge pull request #1485 from qodo-ai/tr/docs_best_practice
Tr/docs best practice
2025-01-26 16:40:09 +02:00
Hussam.lawen
a42c5f4f93
feat: limit number of tickets to analyze to 3 in compliance check 2025-01-26 14:31:29 +02:00
Hussam.lawen
50c52e32c9
enter
feat: enhance ticket compliance analysis with human verification tracking
2025-01-26 12:33:49 +02:00
mrT23
4d52715d25
docs: add auto best practices documentation and configuration 2025-01-26 12:02:27 +02:00
mrT23
83baac975d
docs: clarify code suggestion prompt field description for existing code 2025-01-26 09:16:52 +02:00
Tal
3f6fa5cccb
Merge pull request #1484 from qodo-ai/of/add-implement-to-help
Add `IMPLEMENT` tool and reorganize help message content
2025-01-25 08:57:47 +02:00
mrT23
a7fbd694cc
docs: add January 2025 organization update notice and fix typo in prompts 2025-01-25 08:54:57 +02:00
ofir-frd
78b11fca4c feat: add implement tool to help message and reorder tools list 2025-01-24 17:13:37 +02:00
mrT23
640c1d8dda
refactor: update review effort label format to include range indicator 2025-01-23 21:44:56 +02:00
mrT23
e9c1c91a4b
feat: enhance help message formatting and support for different git providers 2025-01-23 12:05:07 +02:00
mrT23
94616a3429
refactor: simplify review effort label format and remove maximal effort limit 2025-01-23 11:20:58 +02:00
mrT23
c1fa22d068
refactor: simplify review effort label format and remove maximal effort limit 2025-01-23 11:18:00 +02:00
Tal
1cb21c6615
Merge pull request #1473 from KennyDizi/main
Add support model deepseek/deepseek-reasoner
2025-01-23 08:07:53 +02:00
Trung Dinh
c2ca79da0d Combining system and user prompts for o1 series and deepseek-reasoner models 2025-01-22 20:33:43 +07:00
Trung Dinh
63f1d449ce Add support model deepseek/deepseek-reasoner 2025-01-22 20:32:18 +07:00
Griffin Anspach
664f1938c9 Remove false log that file was modified, but no patch found for bitbucket server 2025-01-20 14:56:10 -05:00
Yu Ishikawa
0075084a22 Add vertex_ai/gemini-2.0-flash-exp
Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>
2025-01-20 18:29:37 +09:00
mrT23
67d4c96166
fix: correct typos in code suggestions prompt 2025-01-19 17:21:48 +02:00
mrT23
b335cacffd
fix: limit one_sentence_summary to 6 words in code suggestions 2025-01-19 17:15:02 +02:00
mrT23
87a5a7e156
fix: improve code review guidelines and clarify scope limitations 2025-01-19 17:10:04 +02:00
mrT23
24aa15f074
fix: correct typo in diff format documentation 2025-01-19 15:11:56 +02:00
mrT23
e7f874a4b2
docs: improve diff format documentation and code review instructions 2025-01-19 14:37:49 +02:00
Tal
4ab9392042
Merge pull request #1455 from polacekpavel/fix/local-git-provider-method-stubs
fix(local_git): add interface func stubs for git local provider
2025-01-18 10:33:37 +02:00
Trung Dinh
5ed260d885 Add deepseek configuration block 2025-01-17 11:43:20 +07:00
Trung Dinh
e58a535594 Inject deepseek key to DEEPSEEK_API_KEY environment variable 2025-01-17 11:43:06 +07:00
Trung Dinh
d949f440a8 Add support model deepseek/deepseek-chat 2025-01-17 11:42:36 +07:00
mrT23
4923c8d810
feat: add support for ignoring PRs from specific users 2025-01-16 08:34:01 +02:00
polacekpavel
fe6540275c fix(local_git): add interface method stubs for local git provider compatibility 2025-01-15 18:19:36 +01:00
med8bra
bd611bc1c2
fix(azure-provider): handle renamed files as new files
This fixes a bug when azure-provider tries to fetch original content of a renamed file and fails since the file doesn't exist in base yet.
Also handles case when `diff_type` includes multiple actions as `edit, rename`.

This can be improved to fetch the actual old content using the old path before renaming, but IMO for azure devops since its dying anyway, this fix should be enough.
2025-01-13 22:22:13 +01:00
Patrick Decat
d15d08bb3b
docs: add missing word 2025-01-10 16:08:04 +01:00
mrT23
445a7fc015
filtering fix 2025-01-09 12:16:31 +02:00
mrT23
a74fca7b7d
fix: refine code suggestions prompts and avoid package-related comments 2025-01-08 17:42:07 +02:00
Tal
7479ae3224
Merge pull request #1441 from benedict-lee/fix/support-aititle-with-markers
fix : support ai title with markers
2025-01-07 12:29:39 +02:00
Benedict Lee
f4b895d870
fix : pr type rendering with markers
list obj to comma seperated pr types
2025-01-06 12:49:30 +09:00
Benedict Lee
07d40e2c05
fix : support ai title with markers 2025-01-06 12:42:12 +09:00
Tal
2df4bc8b53
Update pr_agent/algo/utils.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-01-04 16:28:25 +02:00
mrT23
e431979b8b
fix: handle newline issues in patch generation 2025-01-04 16:26:38 +02:00
mrT23
7f950a3aa9
docs: clarify model recommendation for production usage 2025-01-02 12:50:38 +02:00
mrT23
a1a7c8e44c
feat: add example output duplication option for code suggestions prompts 2025-01-02 12:46:50 +02:00
mrT23
e695af6917
feat: add example output duplication option for PR review prompts 2025-01-02 12:33:26 +02:00
mrT23
5318047202
feat: add prompt example duplication option for improved model output 2025-01-02 12:25:42 +02:00
mrT23
5971a06d73
docs: improve Ollama and Hugging Face model configuration docs 2025-01-02 11:16:21 +02:00
mrT23
f6b470bf5e
fix: reorganize PR description prompt fields and improve clarity 2025-01-02 08:41:25 +02:00
mrT23
e2be1f1cee
fix: improve CLI argument validation for sensitive parameters with dot notation 2025-01-01 15:53:37 +02:00
mrT23
d1caa0f15f
fix: improve CLI argument validation for sensitive parameters with dot notation 2025-01-01 15:52:54 +02:00
mrT23
2c2af93eed
fix: improve CLI argument validation for sensitive parameters 2025-01-01 15:19:27 +02:00
Tal
8819293770
Merge pull request #1406 from vishwamartur/support-personal-spaces
Support pull requests in personal spaces in Bitbucket Server
2025-01-01 09:26:29 +02:00
mrT23
4a1b042152
fix: improve bullet point formatting and file path display in PR description 2024-12-31 12:00:21 +02:00
mrT23
6fbd95e1a9
fix: emphasize brevity in PR description bullet points 2024-12-31 08:36:32 +02:00
mrT23
fd6e81978f
fix: improve PR description and title field descriptions for clarity 2024-12-31 08:32:54 +02:00
Tal
8218fa6e13
Merge pull request #1421 from dceoy/main
Update Groq models and tokens
2024-12-30 19:25:23 +02:00
mrT23
8463c4f549
fix: sanitize Ask tool answers to prevent markdown formatting issues with leading slashes 2024-12-30 16:54:03 +02:00
mrT23
2f73ab6eab
fix: sanitize Ask tool answers to prevent markdown formatting issues with leading slashes 2024-12-30 15:06:27 +02:00
mrT23
16dc29a23a
fix: sanitize Ask tool answers to prevent markdown formatting issues 2024-12-30 14:58:53 +02:00
mrT23
bd9522057f
fix: add OpenAI configuration parameters to restricted CLI arguments 2024-12-30 14:33:26 +02:00
mrT23
5df9698bae
fix: restrict sensitive configuration parameters in CLI arguments 2024-12-30 13:57:55 +02:00
dceoy
e89b65ed38 Increase the max token of groq/llama-3.3-70b-versatile 2024-12-30 11:35:02 +09:00
mrT23
6a145af159
fix: make semantic file types extension optional in PR description 2024-12-29 21:43:46 +02:00
mrT23
dbd76ecde5
refactor: improve file changes title description length guidance 2024-12-29 11:42:05 +02:00
mrT23
e95920c58c
refactor: improve file handling and description generation in PR description tool 2024-12-29 11:37:05 +02:00
mrT23
59899f0c62
fix: improve patch generation error handling and logging 2024-12-29 11:27:53 +02:00
mrT23
5e46955d52
fix: improve file path formatting in patch output 2024-12-29 11:26:13 +02:00
mrT23
95d0fafa75
refactor: optimize file content loading and improve rate limit handling 2024-12-29 11:25:33 +02:00
dceoy
71c558d306 Update Groq models and tokens 2024-12-28 01:51:33 +09:00
mrT23
4aad67b563
fix: improve line extraction from files with missing content 2024-12-27 09:00:20 +02:00
mrT23
83e68f168a
log verbosity 2024-12-25 08:22:53 +02:00
mrT23
5e1b04980e
refactor: remove reflection and incremental review features from docs and code 2024-12-25 08:21:33 +02:00
mrT23
495c1ebe5f
refactor: remove legacy code suggestions feature from review tool 2024-12-25 08:18:28 +02:00
mrT23
7d9288bb1a
feat: add dedent option to code snippet formatting 2024-12-24 07:49:27 +02:00
mrT23
6c131b8406
feat: add PR link support in changelog updates 2024-12-23 19:35:52 +02:00
mrT23
e8e4fb0afa
feat: add PR link support in changelog updates 2024-12-23 17:20:29 +02:00
mrT23
3360a28b3e
fix: improve changelog update prompt and response handling 2024-12-23 17:06:21 +02:00
Tal
20c506d2e0
Merge pull request #1402 from KennyDizi/main
Add support for OpenAI `o1` model and snapshot version `o1-2024-12-17`
2024-12-22 09:36:04 +02:00
mrT23
31aa460f5f
fix: only publish empty code suggestions when configured 2024-12-22 09:32:11 +02:00
Trung Dinh
23678c1d4d Update O1_MODEL_PREFIX to o1 based on new models released 2024-12-22 10:36:59 +07:00
Trung Dinh
8d7825233a Supported model gpt-o1 2024-12-22 10:33:26 +07:00
Vishwanath Martur
4688b20284 Support pull requests in personal spaces in Bitbucket Server
Related to #1148

Update `_parse_pr_url` method in `pr_agent/git_providers/bitbucket_server_provider.py` to handle URLs with `/users/`.

* Add logic to check for both `/projects/` and `/users/` in the URL path and process them accordingly.
* Modify the method to raise a `ValueError` if neither `/projects/` nor `/users/` is found in the URL.
* Update the `workspace_slug` to include a `~` prefix if the URL contains `/users/`.

Add test case for URL with `/users/` in `tests/unittest/test_bitbucket_provider.py`.

* Ensure the new test case verifies the correct parsing of URLs with `/users/`.
2024-12-22 00:42:11 +05:30
mrT23
c2f1f2dba0
fix: improve markdown rendering when git provider is unavailable 2024-12-19 21:08:27 +02:00
mrT23
3ab2cac089
fix: improve markdown rendering when git provider is unavailable 2024-12-19 20:59:17 +02:00
mrT23
989670b159
fix: improve markdown rendering when git provider is unavailable 2024-12-19 20:49:40 +02:00
mrT23
7e8361b5fd
feat: enhance code review output with collapsible code snippets and variable links 2024-12-19 20:30:56 +02:00
Trung Dinh
eaaaf6a6a2 Fix context windows token for model o1-2024-12-17 2024-12-19 23:11:45 +07:00
Trung Dinh
07f3933f6d Add support OpenAI model o1 snapshot version o1-2024-12-17 2024-12-19 23:00:47 +07:00
Tal
84786495ed
Merge pull request #1401 from Codium-ai/tr/docs3
docs: simplify default tool configurations and update documentation
2024-12-19 16:43:25 +02:00
mrT23
d09aa1b13e
docs: remove unused automatic_review configuration option 2024-12-19 16:41:18 +02:00
Tal
e9615c6994
Merge pull request #1384 from MarkRx/feature/version-metadata
Add --version command and version metadata
2024-12-19 09:34:24 +02:00
mrT23
f3ee4a75b5
docs: simplify default tool configurations and update documentation 2024-12-19 09:33:20 +02:00
MarkRx
452abe2e18 Move get_version to algo/util.py; fix version to 0.25 2024-12-17 08:44:53 -07:00
Trung Dinh
03d2bea50b Add support model gemini-2.0-flash-exp 2024-12-16 23:37:19 +07:00
mrT23
872b27bfd8
docs: remove model_weak configuration and simplify model selection 2024-12-11 18:10:34 +02:00
Tal
cb88489dbe
Merge pull request #1387 from KennyDizi/main
Introduce to weak model
2024-12-11 17:36:18 +02:00
mrT23
6a51b8501d
docs: add allow_thumbs_up_down configuration option and remove rank_extended_suggestions 2024-12-11 13:16:21 +02:00
mrT23
d34edb83ff
feat: add thumbs up/down support and refactor code suggestions handling 2024-12-11 13:03:43 +02:00
MarkRx
75a120952c Add version metadata and --version command 2024-12-09 09:27:54 -07:00
Trung Dinh
f9a7b18073 Improve condition to pick up weak model 2024-12-09 22:36:07 +07:00
Trung Dinh
6352e6e3bf Change default model to regular model 2024-12-09 22:24:44 +07:00
mrT23
7dc9e73423
fix: move user_tag variable declaration outside conditional block 2024-12-09 08:27:30 +02:00
Trung Dinh
e3d779c30d Fix typo model_weak 2024-12-08 22:09:48 +07:00
Trung Dinh
3c31048afc Update model in git provider 2024-12-08 22:00:37 +07:00
Trung Dinh
fc5dda0957 Use weak model for the rest flows 2024-12-08 21:51:29 +07:00
Trung Dinh
936894e4d1 Use regular model for pr review and code suggestion flows 2024-12-08 21:51:09 +07:00
Trung Dinh
dec2859fc4 Set default model to weak model 2024-12-08 21:10:26 +07:00
Trung Dinh
a4d9a65fc6 Add model_week 2024-12-08 20:23:36 +07:00
Trung Dinh
683108d3a5 Removed model_turbo 2024-12-08 20:10:38 +07:00
mrT23
43e91b0df7
feat: add health test for PR agent commands and improve output handling 2024-12-08 11:27:43 +02:00
mrT23
8610aa27a4
Add disable_auto_feedback configuration option to control automatic PR feedback 2024-12-02 21:28:48 +02:00
Tal
eabc296246
Merge pull request #1376 from pdecat/enhancement/generalize_publish_output_progress
Add publish_output_progress config support to AzureDevOps, BitBucket and Gitlab providers
2024-12-02 08:27:06 +02:00
Tal
b44030114e
Merge pull request #1374 from KennyDizi/main
Add Support for GPT-4o November 2024 Model and Update Configurations
2024-12-02 08:23:26 +02:00
Tal
a7c6fa7bd2
Merge pull request #1364 from ryanzll/main
Check git_provider and reference_link before using them in utils.py
2024-12-02 07:52:59 +02:00
Patrick Decat
a825aec5f3
Add publish_output_progress config support to AzureDevOps, BitBucket and Gitlab providers 2024-11-28 17:15:24 +01:00
KennyDizi
3547cf2057 Update model_turbo and fallback_models 2024-11-21 22:10:55 +07:00
KennyDizi
f2043d639c Add support model gpt-4o-2024-11-20 2024-11-21 22:10:27 +07:00
mrT23
f08b20c667
Improve logging and error handling in Azure DevOps provider for code suggestions 2024-11-21 13:37:48 +02:00
mrT23
eb0c959ca9
Add validation for committable comments within PR hunks in GitHub provider 2024-11-20 17:28:13 +02:00
mrT23
741a70ad9d
Add detailed diff code generation for GitLab suggestions and improve comment formatting 2024-11-20 17:26:36 +02:00
mrT23
22ee03981e
Add diff code generation for Bitbucket code suggestions and improve logging 2024-11-20 17:25:10 +02:00
Tal
b1336e7d08
Merge pull request #1355 from Codium-ai/tr/3-way-prs
use a more modern package
2024-11-18 17:02:26 +02:00
mrT23
577ee0241d
Enable focus_only_on_problems mode by default in configuration and update README.md 2024-11-18 16:35:23 +02:00
zhouleilei
a141ca133c Update utils.py
1. add missed emoji for "PR contains tests"
2. check git_provider and reference_link before using them
2024-11-16 09:32:05 +08:00
Tal
cd8ba4f59f
Merge pull request #1359 from Codium-ai/tr/is_bot_user
Refactor `is_bot_user` function to improve actor type handling
2024-11-14 08:29:05 +02:00
mrT23
fe27f96bf1
Improve robustness of sender_id extraction in Bitbucket app server by using safe dictionary access 2024-11-14 08:26:04 +02:00
mrT23
2c3aa7b2dc
Improve actor data extraction logic in Bitbucket app server 2024-11-14 08:23:38 +02:00
mrT23
c934523f2d
Refactor is_bot_user function to improve actor type handling and logging 2024-11-14 08:19:49 +02:00
mrT23
2f4545dc15
Refactor byte decoding in Bitbucket server provider using decode_if_bytes function 2024-11-12 08:26:33 +02:00
mrT23
cbd490b3d7
use a more modern version 2024-11-12 08:23:11 +02:00
mrT23
065777040f
Improve PR file content retrieval and logging verbosity handling 2024-11-12 08:06:02 +02:00
mrT23
9c82047dc3
Add validation for hunk lines matching original file content in git patch processing 2024-11-12 07:50:37 +02:00
Tal
5c5a3e267c
Merge branch 'main' into introduce-pre-commit 2024-11-08 09:54:21 +02:00
Tal
f9380c2440
Merge pull request #1350 from NxPKG/patch-1
Remove unused deployment_id variable.
2024-11-08 09:49:07 +02:00
Tal
e6a1f14c0e
Merge pull request #1345 from KennyDizi/main
Add Claude 3.5 Haiku Model Support and Update Dependencies
2024-11-07 17:23:28 +02:00
NxPKG
6339845eb4
Remove unused deployment_id variable.
The deployment_id variable is assigned but never used in the function.
2024-11-07 14:24:35 +06:00
KennyDizi
af653a048f Add support model bedrock/anthropic.claude-3-5-haiku-20241022-v1:0 2024-11-07 09:12:52 +07:00
mrT23
d2663f959a
Add focus_only_on_problems setting for targeted code suggestions 2024-11-06 21:22:58 +02:00
mrT23
e650fe9ce9
Merge remote-tracking branch 'origin/main' 2024-11-06 12:20:41 +02:00
mrT23
daeca42ae8
Update ticket analysis review setting key in compliance check function 2024-11-06 12:20:31 +02:00
KennyDizi
157251493a Add support claude-3-5-haiku-20241022 model 2024-11-06 07:52:58 +07:00
Tal
fa49dd5167
Merge branch 'main' into nocode_suggestions_config 2024-11-04 07:50:22 +02:00
mrT23
ef3241285d
Add support for processing diffs without line numbers in code suggestions tool 2024-11-03 17:34:30 +02:00
zhouleilei
dacb45dd8a Merge branch 'main' of https://github.com/ryanzll/pr-agent
update openai api
2024-11-02 09:47:14 +08:00
Pratul Sanwal
443d06df06 Add configuration option to control publish of no code suggestions message 2024-11-01 15:38:16 -04:00
Hussam.lawen
6b64924355
switch the order of when to disable the existing code, to make sure reflection see's the full suggestion (before and after) 2024-10-30 17:09:44 +02:00
mrT23
2f5e8472b9
Add PRDescriptionHeader enum for consistent "Changes walkthrough" usage across modules 2024-10-30 08:48:08 +02:00
Yu Ishikawa
81dea65856 Format files by pre-commit run -a
Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>
2024-10-30 10:00:36 +09:00
Tal
7186bf4bb3
Merge pull request #1313 from yu-iskw/support-google-ai-studio
Support Google AI Studio
2024-10-29 19:22:28 +02:00
Tal
115fca58a3
Merge pull request #1307 from s1moe2/docs/gitlab
Gitlab docs improved; gitlab webhook secret config standardization
2024-10-29 19:20:15 +02:00
Diogo Simoes
cbf60ca636 revert gitlab webhook_secret; docs adjustments 2024-10-29 16:02:06 +00:00
Yu Ishikawa
db062e3e35 Support Google AI Studio
Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>
2024-10-29 08:00:16 +09:00
mrT23
597f1c6f83
Add PRDescriptionHeader enum for consistent "Changes walkthrough" usage across modules 2024-10-28 08:12:56 +02:00
mrT23
8db7151bf0
Add suggestion tracking feature with wiki documentation support 2024-10-27 15:49:10 +02:00
mrT23
b8cfcdbc12
Improve markdown header sanitization in PR help message tool 2024-10-27 14:58:21 +02:00
Diogo Simoes
67b46e7f30 fixed secrets file comment typo 2024-10-25 16:20:35 +01:00
Diogo Simoes
68f2cec077 Gitlab docs improved; gitlab webhook secret config standadization 2024-10-25 16:17:33 +01:00
mrT23
3b47c75c32
Improve handling of empty markdown headers in PR help message tool and update prompt instructions in pr_help_prompts.toml 2024-10-25 12:27:59 +03:00
mrT23
2e34d7a05a
s 2024-10-24 22:05:25 +03:00
mrT23
204a0a7912
s 2024-10-24 22:03:44 +03:00
mrT23
9786499fa6
Refactor PR help message tool to use full documentation content for answering questions and update relevant section handling in prompts 2024-10-24 22:01:40 +03:00
mrT23
4f14742233
Refactor PR help message tool to use full documentation content for answering questions and update relevant section handling in prompts 2024-10-24 21:38:31 +03:00
Tal
c077c71fdb
Merge pull request #1302 from KennyDizi/main
Add support for new Claude models and update dependencies
2024-10-24 08:40:58 +03:00
Tal
65c917b84b
Update atlassian-connect.json 2024-10-23 09:04:27 +03:00
KennyDizi
b4700bd7c0 Add support bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0 model 2024-10-23 08:08:04 +07:00
KennyDizi
f1d0401f82 Add model vertex_ai/claude-3-5-sonnet-v2@20241022 2024-10-23 07:11:33 +07:00
KennyDizi
c5bd09e2c9 Add model anthropic/claude-3-5-sonnet-20241022 2024-10-23 07:10:22 +07:00
mrT23
0b32b253ca
docs: update default setting for publish_labels to false and adjust related documentation 2024-10-21 17:56:15 +03:00
mrT23
0705bd03c4
docs: update pr_help_prompts.toml with project name change and formatting adjustments 2024-10-21 07:37:57 +03:00
mrT23
927d005e99
docs: update pr_help_prompts.toml with project name change and formatting adjustments 2024-10-21 07:33:26 +03:00
Tal
dcb7b66fd7
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-10-19 11:34:57 +03:00
mrT23
b7437147af
fix: correct model type extraction for O1 model handling in litellm_ai_handler.py 2024-10-19 11:32:45 +03:00
Hussam Lawen
e82afdd2cb
Merge pull request #1290 from Codium-ai/hl/tickets_support
support more types of github ticket url / references
2024-10-14 14:34:45 +03:00
Hussam.lawen
0946da3810
support github enterprise 2024-10-14 14:31:34 +03:00
Hussam Lawen
d45a892fd2
Update pr_agent/tools/ticket_pr_compliance_check.py
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
2024-10-14 10:59:58 +03:00
Hussam.lawen
3a52122677
improve and combine regex 2024-10-14 10:30:07 +03:00
Hussam.lawen
eb804d0b34
clean 2024-10-14 10:08:36 +03:00
mrT23
27abe48a34
feat: import Range utility in GitHubProvider for enhanced functionality 2024-10-14 09:43:58 +03:00
mrT23
8fe504a7ec
feat: import Range utility in GitHubProvider for enhanced functionality 2024-10-14 09:40:57 +03:00
mrT23
f6ba49819a
feat: enhance GitHubProvider with improved error handling and URL parsing
- Add traceback logging for exceptions in diff file retrieval
- Improve URL parsing to handle '/api/v3' paths and validate GitHub URLs
- Modify `publish_comment` to return None for temporary comments
- Update constructor to accept an optional GitHub client parameter
2024-10-14 09:18:06 +03:00
Hussam.lawen
22bf7af9ba
refactor regex 2024-10-14 08:44:01 +03:00
Hussam.lawen
840e8c4d6b
support more types of github ticket url / references 2024-10-13 22:41:33 +03:00
mrT23
05827d125b
fix: handle missing issue body and improve error logging in ticket compliance check 2024-10-13 08:19:14 +03:00
mrT23
74ee9a333e
fix: handle missing issue body and improve error logging in ticket compliance check 2024-10-13 08:15:04 +03:00
mrT23
76d95bb6d7
feat: add ticket compliance check
- Implement ticket compliance check logic in `utils.py` and `ticket_pr_compliance_check.py`
- Add functions to extract and cache PR tickets, and check ticket relevancy
2024-10-10 10:01:48 +03:00
Tal
e6c56c7355
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-10-09 08:56:31 +03:00
mrT23
727b08fde3
feat: add support for O1 model by combining system and user prompts in litellm_ai_handler 2024-10-09 08:53:34 +03:00
mrT23
23a3e208a5
docs: update improve.md with folding suggestions feature and add config option 2024-10-08 20:51:45 +03:00
Cory Ball
a476e85fa7 bug-fix_azuredevops-new-file 2024-10-08 01:13:44 -05:00
mrT23
4b05a3e858
refactor: streamline hunk processing logic in git_patch_processing.py
- Simplified logic for handling new and old hunks to ensure consistent presentation of changes.
- Updated documentation in TOML files to reflect changes in hunk section handling and line number references.
2024-10-07 20:32:11 +03:00
mrT23
cd158f24f6
fix: move settings initialization outside inner function in gitlab_webhook 2024-10-07 20:24:21 +03:00
mrT23
ddf1afb23f
chore: update prompt guidelines to include exception type suggestions 2024-10-07 09:17:26 +03:00
mrT23
e2b5489495
feat: add error handling for invalid repo settings configuration
- Implement error handling for invalid TOML configurations in repo settings.
- Log warnings and send comments to PRs when configuration errors occur.
- Introduce `handle_configurations_errors` function to manage error reporting.
- Ensure compatibility with different markdown formats for error messages.
2024-10-07 09:13:17 +03:00
mrT23
618224beef
s 2024-10-02 17:15:44 +03:00
mrT23
e21d9dc9e3
s 2024-10-02 17:08:52 +03:00
mrT23
6872a7076b
s 2024-10-02 17:07:09 +03:00
mrT23
c2ae429805
feat: enhance PR processing logic across GitLab, GitHub, and Bitbucket
- Refactor `should_process_pr_logic` to improve PR filtering based on data attributes.
- Update `_perform_commands_*` functions to incorporate new PR processing checks.
- Ensure consistent handling of PRs by checking configurations before executing commands.
2024-10-02 17:02:33 +03:00
mrT23
bccc2844b9
dual publishing mode 2024-10-01 08:32:29 +03:00
mrT23
8ff8b1d48e
default 2024-10-01 08:22:28 +03:00
mrT23
da0bd84746
dual 2024-10-01 08:20:16 +03:00
mrT23
dfa4f22be2
feat: add dual publishing mode for PR code suggestions
- Introduced dual publishing mode to present high-scoring suggestions as both table entries and commitable PR comments.
- Updated documentation to include configuration options for dual publishing mode.
- Enhanced `pr_code_suggestions.py` to handle dual publishing logic and error handling.
- Modified `configuration.toml` to include `duel_publishing_score_threshold` setting.
2024-10-01 08:01:27 +03:00
mrT23
454365913f
refactor: update terminology for issue review recommendations in utils.py 2024-09-30 13:00:01 +03:00
mrT23
bbaba2dbda
refactor: update terminology for issue review recommendations in utils.py
style: refine field descriptions in KeyIssuesComponentLink model
2024-09-30 08:58:32 +03:00
mrT23
e4c6792866
Merge remote-tracking branch 'origin/main' 2024-09-30 07:52:54 +03:00
mrT23
183dd5d2fc
diverse 2024-09-30 07:52:43 +03:00
Tal
2e79392a5f
Merge pull request #1256 from Codium-ai/mrT23-patch-2
disable chat message for github action
2024-09-30 07:40:04 +03:00
mrT23
35b1f5e747
key 2024-09-29 07:23:34 +03:00
mrT23
d77a819d92
Add intro text option for PR reviews in configuration and utils 2024-09-29 07:06:48 +03:00
Tal
1333ac47bc
Update configuration.toml 2024-09-26 18:24:11 +03:00
mrT23
8bdebcb99f
Enable intro and chat text for PR code suggestions in configuration 2024-09-26 17:11:00 +03:00
mrT23
89f9cf5adc
Add intro and chat text options for PR code suggestions in configuration 2024-09-26 09:07:51 +03:00
mrT23
109b965407
Add configuration for auto actions in GitHub Action runner 2024-09-26 08:03:39 +03:00
mrT23
3dd8050004
improve code suggestion prompt 2024-09-25 21:22:41 +03:00
mrT23
4b7d01972c
improve code suggestion prompt 2024-09-25 21:15:14 +03:00
mrT23
4713ae74b7
improve code suggestion prompt 2024-09-25 17:42:59 +03:00
mrT23
c828cdde62
improve code suggestion prompt 2024-09-25 17:41:21 +03:00
mrT23
6f14f9c8e1
improve code suggestion prompt 2024-09-25 16:22:16 +03:00
mrT23
d5625db3c8
DocHelper 2024-09-22 16:16:59 +03:00
mrT23
d6b779eef8
DocHelper 2024-09-22 16:14:32 +03:00
mrT23
804cb9ec1d
DocHelper 2024-09-22 15:55:18 +03:00
mrT23
397963257d
DocHelper 2024-09-22 10:21:47 +03:00
mrT23
a3fd15bb92
Merge remote-tracking branch 'origin/main' into tr/help_fixes 2024-09-22 09:27:10 +03:00
mrT23
ded7d96649
DocHelper 2024-09-22 09:23:34 +03:00
mrT23
0198c61cf7
update docs 2024-09-22 09:00:56 +03:00
mrT23
20d8e76a7f
logs 2024-09-22 08:31:56 +03:00
mrT23
be8052251a
Update pr_help_prompts.toml and fix snippet indexing in pr_help_message.py 2024-09-22 08:13:23 +03:00
mrT23
ba08b13446
update PR-Agent usage instructions in pr_description.py 2024-09-21 21:10:51 +03:00
mrT23
8229d98842
docs pr help 2024-09-21 20:55:05 +03:00
mrT23
5c7b65810c
Refactor S3 file handling and update Dockerfile to include local Chroma DB file 2024-09-21 19:11:46 +03:00
mrT23
1e51acff22
get protection 2024-09-21 17:07:46 +03:00
mrT23
a70fe27d94
prompts 2024-09-21 16:58:37 +03:00
mrT23
4b74506107
Add PR help message functionality and update dependencies
- Implement PRHelpMessage class to provide AI-powered assistance for pull requests.
- Add methods for similarity search using local, S3, and Pinecone databases.
- Update `requirements.txt` to include new dependencies for langchain and chromadb.
- Modify `configuration.toml` to include `force_local_db` setting for PR help.
- Update `aiohttp` and `openai` package versions.
2024-09-21 16:22:51 +03:00
mrT23
08319f8492
fixed azure remove comment bug 2024-09-19 12:54:26 +03:00
Tal
16763d81b4
Merge pull request #1232 from yzongyue/feature/compatible_with_old_gitlab
func get_line_link compatible with old gitlab versions
2024-09-15 17:06:43 +03:00
Tal
80fe297bc9
Merge pull request #1231 from matanbaruch/main
Update PR Action Handling Logic in GitHub Action Runner
2024-09-15 15:30:34 +03:00
mrT23
fdb1ff8057
update best practics 2024-09-15 12:36:00 +03:00
yzongyue
ce8e637800 get_line_link compatible with old gitlab versions 2024-09-15 14:56:08 +08:00
Matan Baruch
306af02d22
Update github_action_runner.py 2024-09-15 09:42:02 +03:00
Matan Baruch
a23541912b
Update github_action_runner.py 2024-09-15 09:40:05 +03:00
Matan Baruch
0851767774
Update configuration.toml 2024-09-15 09:35:58 +03:00
Matan Baruch
585a7f1c69
Update github_action_runner.py 2024-09-15 09:33:47 +03:00
mrT23
8d82cb2e04
f string 2024-09-15 08:50:24 +03:00
mrT23
480a025877
Merge remote-tracking branch 'origin/main' into tr/dynamic 2024-09-15 08:08:11 +03:00
mrT23
8f943a0d44
fix: update error logging messages and system prompt handling in litellm_ai_handler.py 2024-09-15 08:07:59 +03:00
eddielu
29028d43cf
Set azure devops default status to ByDesign 2024-09-13 18:01:08 -07:00
mrT23
cc0e432247
refactor logic 2024-09-13 22:17:24 +03:00
mrT23
0fb158fd47
fix push gitlab 2024-09-13 20:59:45 +03:00
trung.dinh@zoi.tech
a94496285f Add o1-preview models 2024-09-13 08:23:18 +07:00
trung.dinh@zoi.tech
567c144176 Add o1-mini models 2024-09-13 08:22:09 +07:00
mrT23
a8367d1a22
docs: add dynamic context strategy documentation and update configuration settings
- Added detailed documentation on the dynamic context strategy in `dynamic_context.md`.
- Updated configuration settings in `configuration.toml` to enable dynamic context by default.
- Adjusted context line parameters in `additional_configurations.md` to reflect new defaults.
- Announced dynamic context as the default option in the `README.md` news section.
2024-09-12 11:37:52 +03:00
Tal
3ea691e70a
Merge pull request #1216 from Codium-ai/tr/azure_parsing
fix: improve Azure DevOps PR URL parsing and add unit tests
2024-09-12 09:09:24 +03:00
mrT23
7de6bb0150
enhance: cap patch extra lines and update documentation with separators and context adjustments 2024-09-12 09:05:26 +03:00
mrT23
a1582b5338
enhance: cap patch extra lines and update documentation with separators and context adjustments 2024-09-12 09:01:36 +03:00
mrT23
09b0a04a47
docs and fixes 2024-09-10 20:06:48 +03:00
Tal
1451d82d6b
Update pr_agent/algo/pr_processing.py
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
2024-09-10 17:50:32 +03:00
mrT23
01ba6fe63d
feat: enhance error handling and logging, update AI metadata terminology
- Improved error handling and logging in `pr_processing.py` and `github_polling.py` to provide more detailed error information.
- Updated AI metadata terminology from "AI-generated file summary" to "AI-generated changes summary" across multiple files for consistency.
- Added a placeholder method `publish_file_comments` in `azuredevops_provider.py`.
- Refined logging messages in `azuredevops_provider.py` for better clarity.
2024-09-10 17:44:26 +03:00
mrT23
e444da8378
fix: improve Azure DevOps PR URL parsing and add unit tests 2024-09-10 08:19:22 +03:00
mrT23
1a9638cf87
bug fix: remove unused get_pr_description method from Azure DevOps provider 2024-09-09 16:25:34 +03:00
mrT23
c8e8ed89d2
feat: integrate Dynaconf for configuration management and enhance config display 2024-09-09 08:31:20 +03:00
mrT23
ebc5cafb2b
protection 2024-09-08 17:46:21 +03:00
mrT23
86103c65e8
pattern_back 2024-09-08 17:24:13 +03:00
mrT23
8706f643ef
enable ai_metadata 2024-09-08 16:26:26 +03:00
mrT23
d01cfe443c
avoid_full_files 2024-09-07 11:44:24 +03:00
mrT23
147a8e0ef3
refactor: consolidate PR ignore logic into a single function and update documentation 2024-09-07 11:26:13 +03:00
Tal
9199d84796
Merge pull request #1192 from paolomainardi/feature/1190_exclude_branches_tags
feat: gitlab skip source, target and labels
2024-09-07 10:20:31 +03:00
Paolo Mainardi
39913ef12a
fix: remove specific configurations 2024-09-06 20:23:33 +02:00
Paolo Mainardi
d2a744e70c
fix: remove line 2024-09-06 18:42:47 +02:00
Paolo Mainardi
be93c52380
fix: remove line 2024-09-06 18:42:28 +02:00
Paolo Mainardi
7ccefca35e
fix: remove comment 2024-09-06 18:41:36 +02:00
Paolo Mainardi
14b4723734
feat: move configuration to a common config section, add documentation 2024-09-06 18:32:46 +02:00
mrT23
c8f1c03061
fix: correct tuple unpacking in GitHub polling task queue loop 2024-09-05 20:31:17 +03:00
Tal
b02fa22948
Merge pull request #1198 from Codium-ai/tr/polling
Tr/polling
2024-09-05 19:58:51 +03:00
mrT23
85754d2d79
feat: enhance GitHub polling with synchronous comment processing and improved logging 2024-09-05 16:57:10 +03:00
mrT23
f0d780c7ec
feat: enhance GitHub polling with synchronous comment processing and improved logging 2024-09-05 16:55:10 +03:00
mrT23
19048ee705
feat: enhance GitHub polling with synchronous comment processing and improved logging 2024-09-05 16:53:31 +03:00
mrT23
b8d2b263b9
feat: enhance GitHub polling with synchronous comment processing and improved logging and bug fixing 2024-09-05 16:52:47 +03:00
proDOOMman
be75bb6a16
Add 1C Enterprise language 2024-09-04 09:04:39 +03:00
Tal
d4d9a7f8b4
Merge pull request #1172 from MaxHoecker/bugfix/bb-2-way-diff-fix
Bugfix/bb 2 way diff fix
2024-09-03 16:24:42 +03:00
Paolo Mainardi
2f7f60a469
fix: review standardize regex checking 2024-09-02 16:31:19 +02:00
Paolo Mainardi
adce35765b
feat: implement skip branches for github, add ignore title to gitlab 2024-09-02 16:26:50 +02:00
mrT23
9e063bf48a
fix: handle missing score in code suggestions and adjust indentation in pr_code_suggestions.py 2024-09-01 08:47:23 +03:00
mrT23
5432469ef6
fix: ensure non-empty lines are processed correctly in git patch handling 2024-09-01 08:39:29 +03:00
mrT23
2c496b9d4e
fix: improve PR patch decoding and clean up Bitbucket provider code
- Add fallback encodings for PR patch decoding to handle non-UTF-8 encodings.
- Update logging messages for better clarity.
- Remove unnecessary blank lines and fix minor formatting issues.
- Ensure full files are retrieved in `get_diff_files` method.
2024-09-01 08:38:26 +03:00
Tal
5ac41dddd6
Merge pull request #1191 from AHancher2022/bugfix/fix-output-publishing-when-set-to-false
Fixing code suggestions being published when publish ouput is false
2024-08-31 16:35:09 +03:00
Tal
9df554ed1c
Merge pull request #1185 from jozefvodicka/patch-1
Update pr_update_changelog.py to include "[skip ci]" so pipeline is n…
2024-08-31 16:33:18 +03:00
Paolo Mainardi
23af1afa03
feat: gitlab skip source, target and labels 2024-08-30 17:01:18 +02:00
Paolo Mainardi
fdcbdfce98
feat: gitlab skip source, target and labels 2024-08-30 16:40:23 +02:00
mhoecke1
cf14e45674 further cleaned up code based on feedback 2024-08-30 10:10:39 -04:00
=
1c51b5b762 Fixing code suggestions being published if there are no code suggestions when publish output is false 2024-08-30 09:12:22 -04:00
woung717
578d7c69f8
fix: change deprecated timeout parameter for litellm 2024-08-29 21:45:48 +09:00
mhoecke1
29c50758bc implementing more feedback, choosing a different Bitbucket diff strategy depending on API version, and expanded unit test cases 2024-08-28 17:13:36 -04:00
Tal
97b48da03b
Merge pull request #1184 from MaxHoecker/bugfix/suggestions_error_publish
checking for publish_output in the suggestions tool exception handler
2024-08-28 20:35:05 +03:00
Jozef Vodicka
4203ee4ca8
Update pr_update_changelog.py to include "[skip ci]" so pipeline is not triggered 2024-08-28 12:08:39 +02:00
Tal
84dc976ebb
Merge pull request #1163 from MarkRx/bugfix/asyncio-task-completion
Ensure asyncio event queue is drained prior to CLI termination
2024-08-28 07:54:37 +03:00
mhoecke1
d9571ee7cb checking for publish_output in the suggestions tool exception handler 2024-08-28 00:41:56 -04:00
mrT23
c2f52539aa
fix: handle deleted files in git patch processing and update section header logic 2024-08-27 09:31:31 +03:00
mhoecke1
0442cdcd3d adding config value for old Bitbucket Server diff functionality 2024-08-26 16:07:21 -04:00
MarkRx
93773f3c08 Ensure asyncio event queue is drained prior to CLI termination 2024-08-26 15:14:45 -04:00
Paolo Mainardi
c9ed271eaf
feat: keep manual comments working when commenting draft MRs
closes #1160
2024-08-26 14:50:43 +02:00
mrT23
abf2f68c61
fix: update description for pr_files field in PRDescription class in pr_description_prompts.toml 2024-08-25 12:02:14 +03:00
mrT23
441e098e2a
fix: correct YAML formatting in response text processing in utils.py 2024-08-25 11:26:48 +03:00
mrT23
b9d096187a
fix: skip processing comments without a body in GitHub polling server 2024-08-25 07:21:40 +03:00
Tal
dae87d7da8
Merge pull request #1170 from Codium-ai/tr/avoid_repeating_pr_changes
Update PR code suggestions prompts
2024-08-25 07:17:47 +03:00
mhoecke1
a99ebf8953 implementing PR bot feedback 2024-08-23 11:18:42 -04:00
mhoecke1
2a9e3ee1ef removing unnecessary if check 2024-08-23 10:57:58 -04:00
mhoecke1
2beefab89a BB server 2 way diff fixes 2024-08-23 10:47:27 -04:00
mrT23
415f44d763
type 2024-08-23 11:27:50 +03:00
mrT23
8fb9b8ed3e
Update PR code suggestions prompts to avoid repeating changes already present in the PR 2024-08-23 11:22:55 +03:00
Paolo Mainardi
3778cc2745
feat: skip draft by default 2024-08-22 21:59:01 +02:00
Paolo Mainardi
8793f8d9b0
Update gitlab_webhook.py 2024-08-22 21:14:49 +02:00
Paolo Mainardi
61837c69a3
Update gitlab_webhook.py 2024-08-22 21:13:54 +02:00
Paolo Mainardi
ffaf5d5271
feat: Handle the gitlab MR draft status
closes #1160
2024-08-22 17:29:39 +02:00
Tal
745e955d1f
Merge pull request #1145 from MarkRx/feature/litellm-logging-observability
Add and document abilty to use LiteLLM Logging Observability tools
2024-08-22 09:58:53 +03:00
mrT23
2591a5d6c1
patch_extension_skip_types
Add validation for latest_comment and cast suggestions_score_threshold to int
2024-08-20 12:11:34 +03:00
mrT23
d467f5a7fd
patch_extension_skip_types 2024-08-20 11:37:27 +03:00
mrT23
2d5b060168
patch_extension_skip_types 2024-08-20 11:33:56 +03:00
mrT23
b7eb6be5a0
Update PR code suggestions and reviewer prompts for clarity and consistency 2024-08-20 11:27:35 +03:00
mrT23
df57367426
Update configuration.toml to modify fallback models and add skip types for patch extension logic 2024-08-20 11:24:52 +03:00