Commit graph

1644 commits

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