Commit graph

2059 commits

Author SHA1 Message Date
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