Commit graph

594 commits

Author SHA1 Message Date
mrT23
34ed598c20
yaml 2023-09-25 18:30:20 +03:00
mrT23
e7aee84ea8
isinstance 2023-09-25 18:23:56 +03:00
mrT23
388684e2e8
none 2023-09-25 18:19:35 +03:00
mrT23
8f81c18647
auto commands in github action 2023-09-25 18:01:32 +03:00
mrT23
ba78475944
Merge pull request #327 from Codium-ai/tr/no_comments
Update Review Guidelines to Exclude Comments
2023-09-25 17:25:31 +03:00
mrT23
aa32024078
no comments 2023-09-25 16:58:08 +03:00
Phill Zarfos
9167c20512 added unit tests 2023-09-23 10:41:53 -04:00
Phill Zarfos
a7fb5d98b1 add get_pr_id() to CodeCommitProvider 2023-09-23 08:08:46 -04:00
Hussam Lawen
fda47bb5cf
Merge pull request #304 from sarbjitsinghgrewal/fix_bitbucket_pipeline
Fix bitbucket pipeline
2023-09-22 14:36:42 +03:00
sarbjitgrewal
56cc804fcf Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_pipeline 2023-09-22 12:19:49 +05:30
dulalbert
62746294e3
Correct typo in pr_reviewer_prompts.toml 2023-09-22 10:23:01 +08:00
mrT23
3e07fe618f
pr_id gitlab 2023-09-21 21:35:00 +03:00
mrT23
be54fb5bf8
pr_id 2023-09-21 21:29:41 +03:00
sarbjitgrewal
46ec3c0754 implement suggestions in bitbucket pipeline 2023-09-21 14:42:59 +05:30
sarbjitgrewal
5e608cc7e7 Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_pipeline 2023-09-21 12:48:32 +05:30
mrT23
992f51a019
protections 2023-09-20 15:59:35 +03:00
mrT23
fcd9821d10
protections 2023-09-20 15:57:06 +03:00
sarbjitgrewal
f7abdc6ae8 Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_pipeline 2023-09-20 14:47:21 +05:30
mrT23
632de3f186
protections 2023-09-20 07:39:56 +03:00
sarbjitgrewal
a2ca43afcd Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_pipeline 2023-09-18 10:34:18 +05:30
mrT23
c0511c954e
icon 2023-09-17 17:08:02 +03:00
mrT23
818ab5a9e8
fixed tests 2023-09-17 16:56:23 +03:00
mrT23
291ffdd6ae
gfm_markdown 2023-09-17 16:51:16 +03:00
mrT23
4fbe7d14b5
protection for no language 2023-09-17 16:41:53 +03:00
mrT23
ea91a38541
Estimated effort to review 2023-09-17 16:31:58 +03:00
mrT23
caaee4e43d
Estimated time to review 2023-09-15 17:09:58 +03:00
sarbjitgrewal
43af4aa182 remove token from config 2023-09-15 16:08:13 +05:30
sarbjitgrewal
e343ce8468 bitbucket pipeline for adding reviews 2023-09-15 16:05:55 +05:30
sarbjitgrewal
978c56c128 update pipeline 2023-09-15 12:38:34 +05:30
sarbjitgrewal
4043dfff9e Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_pipeline 2023-09-14 15:31:18 +05:30
mrT23
084256b923
fixed config 2023-09-14 08:23:34 +03:00
mrT23
99f17666c5
merge 2023-09-14 08:20:36 +03:00
mrT23
bba22667f1
merge 2023-09-14 08:13:00 +03:00
mrT23
1b8349b0ef
merge 2023-09-14 07:47:04 +03:00
mrT23
b94e3521d1
Merge remote-tracking branch 'origin/main' into markers
# Conflicts:
#	pr_agent/tools/pr_description.py
2023-09-14 07:46:30 +03:00
mrT23
9c0656c296
graphic adjustments 2023-09-13 08:16:23 +03:00
mrT23
ee3874f0aa
Merge pull request #297 from Codium-ai/tr/fix_tests
Enhancing Logging in pr_similar_issue.py
2023-09-13 07:27:50 +03:00
Ori Kotek
b7a2551cab
Support issue comments in GitHub Actions 2023-09-12 16:46:02 +03:00
Ori Kotek
21feb92b75
Support issue comments in GitHub Actions 2023-09-12 16:41:12 +03:00
Ori Kotek
2f6178306f
Fix a bug in GitHub Actions 2023-09-12 13:28:35 +03:00
sarbjitgrewal
caee7cbf50 add bitbucket access token 2023-09-12 11:20:38 +05:30
mrT23
901eda2f10
logs 2023-09-12 07:57:21 +03:00
mrT23
d7f43d6ee0
gfm_supported 2023-09-12 07:43:15 +03:00
sarbjitgrewal
9bd5140ea4 update access token 2023-09-11 16:33:45 +05:30
sarbjitgrewal
12bd9e8b42 add bitbucket pipeline 2023-09-11 16:08:23 +05:30
Ori Kotek
98d0835c48
Merge remote-tracking branch 'origin/main' into fix_bitbucket_publish_description 2023-09-10 14:08:17 +03:00
Ori Kotek
2aef9dfe55
Merge remote-tracking branch 'origin/main' into fix_bitbucket_publish_description 2023-09-10 14:06:54 +03:00
Ori Kotek
115b513c9b
Remove 'bitbucket' explicit dependency anywhere that's not in bitbucket_provider.py 2023-09-10 14:06:13 +03:00
mrT23
d40285e4d3
Merge branch 'main' into tr/litellm_debugger 2023-09-10 13:40:35 +03:00
mrT23
517658fb37
Merge pull request #282 from Codium-ai/tr/issue_tool
Adding Similar Issue Tool and Pinecone Integration
2023-09-10 13:39:34 +03:00
mrT23
6382b8a68b
LITELLM_TOKEN 2023-09-10 13:28:56 +03:00
mrT23
e371b217ec
Merge remote-tracking branch 'origin/main' into tr/litellm_debugger 2023-09-10 13:27:19 +03:00
mrT23
892dbe458e
litellm client 2023-09-09 17:35:45 +03:00
Krrish Dholakia
1b098aea13 adding documentation on how to call local hf models 2023-09-08 09:59:44 -07:00
mrT23
e90c9e5853
Merge pull request #287 from cloudlinux/gerrit
[gerrit] Added support project's config file: `.pr_agent.toml`
2023-09-07 19:06:32 +03:00
Nikolay Telepenin
e4f28b157f Added support project's config file: .pr_agent.toml
+ removed markdown/html formatting from the review due to gerrit does not support it
2023-09-07 13:13:07 +01:00
mrT23
b23a4c0535
Merge remote-tracking branch 'origin/main' into tr/issue_tool
# Conflicts:
#	requirements.txt
2023-09-07 12:30:16 +03:00
mrT23
145b5db458
added 'publish_description_as_comment' support 2023-09-07 12:10:33 +03:00
mrT23
8af8fd8e5d
github action 2023-09-06 17:43:43 +03:00
mrT23
8962c9cf8a
stable 2023-09-06 09:43:23 +03:00
mrT23
bc95cf5b8e
stable 2023-09-06 09:12:25 +03:00
mrT23
dcd8196b94
Merge remote-tracking branch 'origin/main' into tr/issue_tool
# Conflicts:
#	pr_agent/settings/configuration.toml
2023-09-06 08:43:41 +03:00
mrT23
901c1dc3f0
issue tool 2023-09-06 08:43:01 +03:00
sarbjitgrewal
adb9964823 Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_publish_description 2023-09-06 09:32:43 +05:30
sarbjitgrewal
335877c4a7 fix publish description for bitbucket 2023-09-06 09:26:23 +05:30
Krrish Dholakia
5da6a0147c showing how to use huggingface models 2023-09-05 16:23:22 -07:00
Krrish Dholakia
ca50724952 adding details on calling azure 2023-09-05 15:19:56 -07:00
Ori Kotek
1443df7227
Merge remote-tracking branch 'origin/main' into ok/gitlab_webhook 2023-09-05 18:15:51 +03:00
Nikolay Telepenin
4a54532b6a Set github provider by default
- merge README.md
2023-09-05 09:09:35 +01:00
Nikolay Telepenin
0dbe64e401 Merge branch 'main' into gerrit 2023-09-05 09:04:32 +01:00
mrT23
c0b23e1091
Merge remote-tracking branch 'origin/main' into tr/issue_tool
# Conflicts:
#	pr_agent/algo/utils.py
2023-09-05 08:05:33 +03:00
sarbjitgrewal
704c169181 Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_improve_issue 2023-09-05 10:00:07 +05:30
Tim Perkins
746140b26e Add support for markers in description 2023-09-04 12:11:39 -04:00
Nikolay Telepenin
53ce609266 Msg is mandatory field for the request 2023-09-04 15:50:36 +01:00
Ori Kotek
140760c517
Add Gitlab webhook secret 2023-09-04 16:39:31 +03:00
Ori Kotek
56e9493f7a
Add Gitlab webhook secret 2023-09-04 15:29:21 +03:00
Phill Zarfos
ae3d7067d3 implemented 'improve' command for CodeCommit 2023-09-03 09:22:08 -04:00
Phill Zarfos
0203086aac removed duplicate swift statement 2023-09-02 15:39:57 -04:00
Nikolay Telepenin
ae98cfe17b Return status of upload suggestion to the gerrit 2023-09-01 14:56:16 +01:00
Nikolay Telepenin
35a6eb2e52 Add unique patch to according to multiple execution of publish_code_suggestions 2023-09-01 14:51:29 +01:00
Nikolay Telepenin
8b477c694c Fix after rebase on main branch 2023-09-01 14:41:56 +01:00
Nikolay Telepenin
1254ad1727 Gerrit:
- support reflect/answer
2023-09-01 14:31:35 +01:00
Nikolay Telepenin
eeea38dab3 Gerrit support 2023-09-01 14:31:34 +01:00
mrT23
de39595522
Merge pull request #252 from zmeir/zmeir-try_to_fix_split_line_ranges
Try to refine the prompt to prevent split line ranges that give bad suggestions
2023-08-31 20:36:33 +03:00
Ori Kotek
4c6595148b
Add Gitlab webhook secret 2023-08-31 17:03:58 +03:00
Ori Kotek
02e0f958e7
Add Gitlab webhook secret 2023-08-31 14:56:45 +03:00
sarbjitgrewal
970a7896e9 Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_improve_issue 2023-08-31 13:35:32 +05:30
zmeir
c6c97ac98a Try to change the improve command prompt to prevent split lines range 2023-08-30 23:33:38 +03:00
zmeir
92e23ff260 Fix #254 2023-08-30 23:05:41 +03:00
mrT23
85130c0d30
Merge pull request #255 from pzarfos/issue_138_codecommit_describe
Enhancement of AWS CodeCommit support in PR-Agent
2023-08-30 20:30:50 +03:00
Ori Kotek
d64b1f80da
Allow overriding GitHub app default action by using repo local file 2023-08-30 12:12:09 +03:00
Phill Zarfos
f26264daf1 added describe command to CodeCommit 2023-08-29 17:59:52 -04:00
sarbjitgrewal
2aaa722102 Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_improve_issue 2023-08-29 09:49:19 +05:30
mrT23
f14c5d296a
Merge pull request #251 from zmeir/zmeir-fix_azure_api
Fixed incorrect usage for Azure OpenAI API
2023-08-28 20:52:04 +03:00
mrT23
d3c7dcc407
AZURE_DEVOPS_AVAILABLE 2023-08-28 20:21:29 +03:00
mrT23
f5dd7207dc
Merge remote-tracking branch 'origin/main' into tr/prompts_yaml 2023-08-28 20:19:22 +03:00
mrT23
e5e10d5ec5
Merge pull request #241 from szecsip/feature_azure_devops
Add Azure DevOps provider with basic functionality
2023-08-28 17:03:05 +03:00
zmeir
314d13e25f Fixed incorrect usage for Azure OpenAI API 2023-08-28 16:13:26 +03:00
mrT23
2dc2a45e4b
yaml 2023-08-28 09:48:43 +03:00
sarbjitgrewal
39522abc03 fix conflicts 2023-08-28 11:21:47 +05:30
Ori Kotek
9e878d0d9a
Bitbucket server 2023-08-27 10:11:46 +03:00
sarbjitgrewal
0e42634da4 add publish_labels and get_labels functions 2023-08-25 10:15:30 +05:30
Péter Szécsi
b94ed61219
Merge branch 'main' into feature_azure_devops 2023-08-24 16:41:33 +00:00
szecsip
ceaff2a269 fix exception printing 2023-08-24 16:35:34 +00:00
szecsip
12167bc3a1 fix imports 2023-08-24 16:34:20 +00:00
Ori Kotek
355abfc39a
Bitbucket server, WIP 2023-08-24 18:35:41 +03:00
szecsip
c163d47a63 fix imports 2023-08-24 15:22:14 +00:00
szecsip
5d529a71ad some minor changes in Azure DevOps git provider 2023-08-24 15:20:00 +00:00
Ori Kotek
5079daa4ad
Bitbucket server, WIP 2023-08-24 16:33:51 +03:00
sarbjitgrewal
f0dc485305 Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_improve_issue 2023-08-24 16:14:29 +05:30
sarbjitgrewal
db6bf41051 update readme 2023-08-24 15:56:20 +05:30
Ori Kotek
123741faf3
Bitbucket server, WIP 2023-08-24 12:10:13 +03:00
sarbjitgrewal
67ff50583a fix improve, update_changelog and review inline comment 2023-08-24 11:52:20 +05:30
szecsip
01d1cf98f4 init Azure DevOps git provider 2023-08-23 16:01:10 +00:00
szecsip
52ba2793cd modify get_main_pr_language to handle azuredevops provided language format 2023-08-23 15:59:49 +00:00
mrT23
fd39c64bed
Merge pull request #233 from zmeir/zmeir-automatic_github_app_options
Support custom deployments for github_app.py and add more options for automatic review actions
2023-08-23 09:20:46 +03:00
mrT23
16150e9c84
update litellm 2023-08-23 09:19:15 +03:00
mrT23
6599cbc7f2
Merge remote-tracking branch 'origin/main' into tr/tweaks_and_improvements 2023-08-23 09:17:53 +03:00
mrT23
53108a9b20
Merge branch 'main' into main 2023-08-23 09:16:00 +03:00
Phill Zarfos
d31b66b656 initial implementation of CodeCommit 2023-08-22 17:15:11 -04:00
zmeir
f17b4fcc9e Made the automatic describe command the least destructive 2023-08-22 21:14:03 +03:00
zmeir
5582a901ff Merge branch 'main' into zmeir-automatic_github_app_options 2023-08-22 21:09:23 +03:00
mrT23
412c86593d
fixed tests 2023-08-22 20:21:52 +03:00
mrT23
04be1573d5
improved review 2023-08-22 20:10:36 +03:00
Zohar Meir
3d771e28ce
Remove redundant None default in dict.get 2023-08-22 18:33:25 +03:00
Zohar Meir
a9a7a55f02
Remove redundant toggle 2023-08-22 18:28:43 +03:00
Zohar Meir
62fe1de12d
Remove redundant toggle 2023-08-22 18:28:06 +03:00
mrT23
635b243280
Merge pull request #223 from zmeir/zmeir-keep_original_pr_description
Enhancement: Retain Original User Description and Title in PRs
2023-08-22 16:47:16 +03:00
mrT23
cbe0a695d8
Merge pull request #229 from Codium-ai/tr/sequential_improve
Implementing Extended Improve Mode for More Thorough PR Reviews
2023-08-22 16:46:52 +03:00
zmeir
782c170883 Support custom deployments for github_app.py and add more options for automatic review actions 2023-08-22 16:46:03 +03:00
mrT23
9157fa670e
-> bool 2023-08-22 16:32:22 +03:00
mrT23
36e5e5a17e
update 2023-08-22 16:30:18 +03:00
mrT23
f4f040bf8d
publish each suggestion separably 2023-08-22 16:11:51 +03:00
zmeir
82fb611a26 Add options to keep original user title 2023-08-22 10:32:58 +03:00
zmeir
09ef809080 Added comments explaining the logic behind get_user_description 2023-08-22 10:04:21 +03:00
zmeir
2b22f712fb Renamed keep_user_description --> add_original_user_description 2023-08-22 09:55:56 +03:00
mrT23
b85679e5e4
improve --extend 2023-08-22 09:42:59 +03:00
Krrish Dholakia
dcad490513 adding huggingface inference support + litellm debugger 2023-08-21 15:31:51 -07:00
mrT23
fb9335f424
extended improve 2023-08-21 18:17:34 +03:00
zmeir
81c38f9646 Added type hints 2023-08-21 09:22:58 +03:00
Phill Zarfos
542bc9586a Remove duplicate get_repo_settings() in bitbucket_provider 2023-08-20 12:58:44 -04:00
zmeir
b3749d08e2 Set default configuration to false to allow users to opt-in 2023-08-20 19:00:56 +03:00
zmeir
31e91edebc Allow keeping the original user description 2023-08-20 18:59:40 +03:00
mrT23
6693aa3cbc
semi stable 2023-08-20 15:01:06 +03:00
Ori Kotek
fda98643c2
Merge pull request #217 from sarbjitsinghgrewal/fix_bitbucket_improve_issue
fix bitbucket improve issue
2023-08-20 14:42:15 +03:00
Ori Kotek
2bbb25d59c
Merge pull request #222 from Codium-ai/ok/fix_gitlab
Fix repo settings bug in Gitlab
2023-08-20 14:41:31 +03:00
Ori Kotek
08afeb9759
Merge pull request #219 from idavidov/idavidov/gitlab_bug
Fixing GitLab Inline Comment Diff Issue by Implementing Relevant Diff Selection
2023-08-20 14:40:32 +03:00
Ori Kotek
2d5b0fa37f
Fix repo settings bug in Gitlab 2023-08-20 14:39:05 +03:00
zmeir
c6f8d985c2 Safe parse key value in config override 2023-08-20 10:11:39 +03:00
idavidov
9770f4709a few more changes suggested by AI implemented 2023-08-19 16:26:15 +03:00