Commit graph

243 commits

Author SHA1 Message Date
zmeir
4aa54b9bd4 Add /describe -c option 2023-07-27 17:42:50 +03:00
zmeir
c6d0bacc08 Match styling of both /describe modes 2023-07-27 17:31:31 +03:00
mrT23
6a72df2981
Merge pull request #139 from Codium-ai/tr/changelog
Add feature to update CHANGELOG.md based on PR content
2023-07-27 09:04:48 +03:00
mrT23
808ca48605
if not self.commit_changelog: 2023-07-27 08:48:39 +03:00
mrT23
c827cbc0ae
final touches 2023-07-27 08:47:26 +03:00
mrT23
801923789b
final 2023-07-26 20:33:21 +03:00
mrT23
884317c4f7
stable 2023-07-26 20:03:22 +03:00
mrT23
1bd47b0d53
enhance pr_reviewer.py code 2023-07-26 17:24:03 +03:00
mrT23
7531ccd31f
stable 2023-07-26 16:29:42 +03:00
mrT23
e3846a480e
s 2023-07-26 09:21:31 +03:00
Ori Kotek
adb3f17258
Merge pull request #131 from Codium-ai/ok/gitlab_webook
GitLab Webhook Integration and Provider Enhancements
2023-07-24 16:01:17 +03:00
Ori Kotek
2c03a67312
Add labels 2023-07-24 16:00:51 +03:00
mrT23
57ff46ecc1
stable 2023-07-24 12:41:00 +03:00
mrT23
3819d52eb0
Merge remote-tracking branch 'origin/tr/code_enhancment' into tr/code_enhancment 2023-07-24 12:15:17 +03:00
mrT23
3072325d2c
PRDescription 2023-07-24 12:14:53 +03:00
Ori Kotek
abca2fdcb7
Merge remote-tracking branch 'origin/main' into tr/code_enhancment 2023-07-24 12:04:54 +03:00
mrT23
4d84f76948
_get_prediction 2023-07-24 11:31:35 +03:00
Ori Kotek
b9c25e487a
On /describe, preserve the current labels 2023-07-24 10:17:26 +03:00
mrT23
1bf27c38a7
_prepare_pr_answer 2023-07-24 09:15:45 +03:00
Ori Kotek
02a1d8dbfc
Add support for fallback models 2023-07-23 16:16:36 +03:00
mrT23
3d5d517f2a
code suggestions 2023-07-19 20:57:14 +03:00
mrT23
d89792d379
PR Type label 2023-07-19 20:25:54 +03:00
Ori Kotek
4c36fb4df2
args bug 2023-07-19 18:18:18 +03:00
mrT23
577f24d107
Merge pull request #89 from zmeir/zmeir-review_score
Add Score Review Feature
2023-07-19 17:07:05 +03:00
Hussam.lawen
3326327572
More refactoring.... 2023-07-19 17:01:56 +03:00
Hussam.lawen
8038b6ab99
refactor and clean 2023-07-19 14:22:34 +03:00
zmeir
8868c92141 Merge branch 'main' into zmeir-review_score 2023-07-19 11:05:24 +03:00
Hussam.lawen
f73cddcb93
Change Review title when 2023-07-19 01:03:47 +03:00
Hussam.lawen
5f36f0d753
Merge commit 'bdf7eff7cd0a8894c3e66e49bdf89f27da1bfcb4' into hl/incremental_review 2023-07-18 23:28:43 +03:00
Hussam.lawen
dc4bf13d39
Add Incremental Review 2023-07-18 23:14:47 +03:00
zmeir
0396e10706 Add configuration to request a score for the PR
This can help teams compare the review of the PR agent with that of a human reviewer, and fine-tune a score threshold for automatic approval where they decide the agent's review is satisfactory.
2023-07-18 16:40:35 +03:00
mrT23
c507785475
bugfix 2023-07-18 16:32:51 +03:00
Hussam Lawen
2e36fce4eb
Merge pull request #83 from Codium-ai/hl/gitlab_description
Support describe for Gitlab
2023-07-18 13:47:32 +03:00
Hussam Lawen
6c42a471e1
Merge pull request #76 from zmeir/zmeir-publish_inline_comments_single_api_call
Optimization of Inline Comments Publishing
2023-07-18 13:05:11 +03:00
Hussam.lawen
f2b74b6970
support gitlab describe function 2023-07-18 13:03:36 +03:00
Ori Kotek
05e4e09dfc
Lint 2023-07-18 12:27:28 +03:00
Ori Kotek
13092118dc
Move the new git provider function to the abstract interface 2023-07-18 12:26:49 +03:00
Ori Kotek
7d108992fc
Merge remote-tracking branch 'origin/main' into zmeir-publish_inline_comments_single_api_call 2023-07-18 11:53:41 +03:00
Ori Kotek
90f97b0226
Lint fixes 2023-07-18 11:34:57 +03:00
mrT23
6d2673f39d
Merge remote-tracking branch 'origin/tr/agent_logic' into tr/agent_logic 2023-07-18 10:32:43 +03:00
mrT23
b3a1d456b2
if settings.pr_reviewer.num_code_suggestions 2023-07-18 10:32:36 +03:00
Ori Kotek
e5259e2f5c
Small refactor 2023-07-18 10:17:09 +03:00
mrT23
51e08c3c2b
reflect and review + protections 2023-07-18 08:22:25 +03:00
mrT23
aee08ebbfe
Merge branch 'main' into tr/agent_logic 2023-07-18 08:04:47 +03:00
mrT23
539edcad3c
works 2023-07-17 16:53:38 +03:00
mrT23
c866288b0a
Merge remote-tracking branch 'origin/main' into tr/agent_logic 2023-07-17 15:59:37 +03:00
mrT23
f8f415eb75
stable 2023-07-17 15:49:29 +03:00
zmeir
24583b05f7 Publish GitHub review comments with single API call 2023-07-17 10:41:02 +03:00
Ori Kotek
fa421fd169
Merge pull request #75 from Codium-ai/bugfix/rename_get_description
get_description was removed
2023-07-17 10:32:01 +03:00
Ori Kotek
e0ae5c945e
get_description was removed 2023-07-17 10:30:44 +03:00
mrT23
8f3520807c
minor fixes
minor fixes
2023-07-17 08:42:18 +03:00
mrT23
fa90b242e3
pr_information_from_user_prompts 2023-07-17 08:09:56 +03:00
Ori Kotek
c58e1f90e7
Merge branch 'main' into hl/gitlab_code_suggestion 2023-07-17 02:10:15 +03:00
Ori Kotek
d363f148f0
Merge pull request #65 from Codium-ai/tr/agent_logic
pr_information_from_user_prompts
2023-07-17 02:08:56 +03:00
Hussam.lawen
fc309f69b9
Support Code Suggestion in Gitlab 2023-07-17 01:44:40 +03:00
Ilan Chemla
e638dc075c Remove git_provider.get_description() which is a duplicate of git_provider.get_pr_description() 2023-07-16 21:47:48 +03:00
mrT23
f4de3d2899
pr_information_from_user_prompts 2023-07-16 19:36:20 +03:00
Ori Kotek
60bce8f049
Update Github polling 2023-07-16 15:00:13 +03:00
Ori Kotek
0acf423450
Update comment 2023-07-16 14:30:34 +03:00
Ori Kotek
2531849b73
Update usage instructions in PR comment 2023-07-16 13:45:20 +03:00
mrT23
4f4989af8c
full code suggestions
full code suggestions
2023-07-16 09:01:57 +03:00
Hussam Lawen
4a6bf4c55a
Merge branch 'main' into hl/gitlab_fix 2023-07-14 22:48:13 +03:00
Hussam.lawen
da6828ad87
Inline suggestion refactor + Gitlab WORKS 2023-07-13 20:43:49 +03:00
mrT23
4e59693c76
diff_files 2023-07-13 18:26:35 +03:00
mrT23
0f73f5f906
set as title 2023-07-13 17:53:17 +03:00
mrT23
f34cda126a
stable 2023-07-13 17:31:28 +03:00
mrT23
dece20c984
PRDescription 2023-07-13 17:24:56 +03:00
mrT23
77a451ada0
inline_code_comments 2023-07-13 09:44:33 +03:00
Hussam.lawen
fd4a2bf7ff
refactor try_fix_json, generalize finding the ending of a json item (support new lines, spaces tab) 2023-07-11 22:11:42 +03:00
Hussam.lawen
a3211d4958
Merge commit '210d94f2aa6ebf872b9b85051d1842c32d4fc34e' into hl/try_fix_when_broken_output 2023-07-11 17:33:02 +03:00
Hussam.lawen
86d7ed5f82
Try to fix broken json output 2023-07-11 17:32:48 +03:00
Ori Kotek
b2d952cafa
1. Move deployment_type to configuration.toml
2. Lint
3. Inject GitHub app installation ID into GitHub provider using the settings mechanism.
2023-07-11 16:55:09 +03:00
Ori Kotek
6eacf4791d
Merge remote-tracking branch 'origin/main' into feature/gitlab_provider 2023-07-11 15:49:06 +03:00
mrT23
301622216f
Focused PR update 2023-07-11 08:50:28 +03:00
salberts
75167c2700 add polling 2023-07-08 08:52:11 +03:00
salberts
e63a4f47ce bugfixes 2023-07-07 17:06:53 +03:00
salberts
ee3cac9836 bugfix 2023-07-07 16:33:25 +03:00
salberts
8b3ff7a632 bugfix 2023-07-07 16:31:28 +03:00
salberts
7d49e080fc remove prints 2023-07-07 16:24:02 +03:00
salberts
1a94079936 style 2023-07-07 16:15:51 +03:00
salberts
7ed12c2f8e refactor 2023-07-07 16:10:33 +03:00
Albert Achtenberg
ed8cf27b05 working example 2023-07-07 15:02:40 +03:00
Ori Kotek
9e96fbab1f
Don't add "How to use" when running from the command line - a small correction #2 2023-07-06 18:33:03 +03:00
Ori Kotek
f1ab6ec88f
Merge pull request #11 from Codium-ai/bugfix/double_notifications
Protect from notifications that may be handled twice
2023-07-06 18:17:13 +03:00
Ori Kotek
4331610e01
Don't add "How to use" when running from the command line - a small correction 2023-07-06 17:53:52 +03:00
Ori Kotek
d04c0f490c
Don't add "How to use" when running from the command line 2023-07-06 17:52:12 +03:00
mrT23
30248c2a7b
readme update 2023-07-06 17:34:40 +03:00
mrT23
c2e3bf7b70
newline 2023-07-06 16:39:56 +03:00
Ori Kotek
71b077faf8
Merge remote-tracking branch 'origin/enhancment/markdown' into feature/github_tag_improve 2023-07-06 12:59:25 +03:00
Ori Kotek
b6333e7f20
Improve handling of tagging and Github app user interaction 2023-07-06 12:58:05 +03:00
mrT23
e53ae712f9
formatting 2023-07-06 12:49:10 +03:00
mrT23
33f859b073
delete "Preparing review..." comment 2023-07-06 08:44:08 +03:00
Ori Kotek
4b4d91dfe9
Initial commit - PR-Agent OSS release 2023-07-06 00:21:08 +03:00