Commit graph

426 commits

Author SHA1 Message Date
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
idavidov
35afe758e9 revert back conf 2023-08-19 16:16:16 +03:00
idavidov
50125ae57f various changes as outcomes from AI review 2023-08-19 16:12:48 +03:00
idavidov
6595c3e0c9 2 more /improve good suggestions 2023-08-19 15:47:45 +03:00
idavidov
fdd16f6c75 raize exception when no diffs in MR 2023-08-19 15:40:40 +03:00
idavidov
7b7e913195 to changes suggested by /improve with my small touch 2023-08-19 15:31:02 +03:00
idavidov
5477469a91 in order to have exact sha's we have to find correct diff for this change
otherwise gitlab web doesn't able show diff on page and return 500 or 400 errors based on different scenarios
2023-08-19 15:06:22 +03:00
sarbjitgrewal
dff4646920 fix bitbucket improve issue 2023-08-18 17:48:45 +05:30
Tim Perkins
631fb93b28 Implement Automatic Review Configuration for GitHub app 2023-08-16 16:24:30 -04:00
mrT23
dee1f168f8
Merge pull request #206 from pzarfos/fix/bitbucket_get_repo_settings
Implement get_repo_settings for BitbucketProvider
2023-08-16 18:54:36 +03:00
mrT23
bb18e32c56
Merge pull request #209 from tjwp/no-suggestions
Publish comment when improve has no suggestions
2023-08-16 18:53:39 +03:00
Tim Perkins
70286e9574
Make the message more modest 2023-08-15 08:35:57 -04:00
Tim Perkins
3f60d12a9a Publish comment when improve has no suggestions 2023-08-14 13:07:00 -04:00
Phill Zarfos
164b340c29 Merge branch 'main' into fix/bitbucket_get_repo_settings 2023-08-14 08:30:14 -04:00
Ori Kotek
4bb035ec0f
Merge pull request #208 from sarbjitsinghgrewal/fix_bitbucket_ask_issue
Fix bitbucket ask issue
2023-08-14 14:52:45 +03:00
Ori Kotek
23a79bc8fe
Merge pull request #183 from zmeir/zmeir-fallback_deployments
Support fallback deployments to accompany fallback models
2023-08-14 14:51:14 +03:00
sarbjitgrewal
cca951d787 fix bitbucket ask issue 2023-08-14 14:30:30 +05:30
Phill Zarfos
f82b9620af Implement get_repo_settings for BitbucketProvider 2023-08-13 18:25:11 -04:00
Péter Szécsi
524faadffb init AzureDevopsProvider 2023-08-13 23:00:45 +02:00
Péter Szécsi
82710c2d15 add AzureDevopsProvider to __init__.py 2023-08-13 22:56:50 +02:00
Zohar Meir
b7b650eb05
Remove extra blank line in help message 2023-08-13 11:32:02 +03:00
zmeir
6ca0655517 Extracted to helper functions 2023-08-13 11:03:10 +03:00
zmeir
edcf89a456 Improve comment 2023-08-13 10:56:16 +03:00
zmeir
7762a67250 Fail if not enough fallback deployments 2023-08-13 10:55:44 +03:00
zmeir
7049c73790 Merge branch 'main' into zmeir-fallback_deployments 2023-08-13 10:48:21 +03:00
mrT23
d3a5aea89e
update_changelog 2023-08-11 18:50:56 +03:00
mrT23
dd87df49f5
block scalar 2023-08-11 18:43:46 +03:00
mrT23
e85bcf3a17
Merge remote-tracking branch 'origin/tr/block_scalar' into tr/block_scalar 2023-08-11 18:38:06 +03:00
mrT23
abb754b16b
block scalar 2023-08-11 18:37:55 +03:00
mrT23
bb5878c99a
Merge branch 'main' into tr/block_scalar 2023-08-11 18:36:21 +03:00
mrT23
273a9e35d9
block scalar 2023-08-11 18:35:34 +03:00
Ori Kotek
17ed050ca7
Merge pull request #192 from coditamar/fix/minor_cli_and_requirements_fixes
Correcting CLI and README Descriptions and Fixing Requirements.txt
2023-08-10 02:18:13 +03:00
Ori Kotek
b206b1c5ff
Protect for empty description 2023-08-10 02:08:36 +03:00
Itamar Friedman
725ac9e85d fixing cli pr_url help description 2023-08-10 01:30:12 +03:00
mrT23
d38c5236dd
Merge pull request #187 from Codium-ai/ok/limit_description
Limiting Description and Commit Messages Length
2023-08-09 14:14:47 +03:00
mrT23
1b0b90e51d
block scalar 2023-08-09 14:11:58 +03:00
mrT23
64481e2d84
block scalar 2023-08-09 14:01:48 +03:00
Ori Kotek
e0f295659d
A less hacky way 2023-08-09 12:17:54 +03:00
mrT23
fe75e3f2ec
yaml
yaml
2023-08-09 12:15:52 +03:00
Ori Kotek
e3274af831
A (still) hacky way to clip description and commit messages 2023-08-09 10:17:58 +03:00
Zohar Meir
95b6abef09
Merge branch 'main' into zmeir-fallback_deployments 2023-08-08 11:00:13 +03:00
zmeir
7f1849a867 Logging 2023-08-07 22:42:53 +03:00
mrT23
7760f37dee
Merge pull request #185 from zmeir/zmeir-fix_inline_comment_position
Attempt to fix bug in create_inline_comment
2023-08-07 20:41:52 +03:00
Ori Kotek
ebbe655c40
Don't commment on Github, only eyes reaction 2023-08-07 18:09:39 +03:00
Zohar Meir
164ed77d72
Attempt to fix bug in create_inline_comment 2023-08-07 17:09:50 +03:00
Ori Kotek
b1148e5f7a
Don't commment on Github, only eyes reaction 2023-08-07 16:34:28 +03:00
Ori Kotek
a75253097b
Don't remove eyes 2023-08-07 16:28:20 +03:00
zmeir
6c4a5bae52 Support fallback deployments to accompany fallback models
This is useful for example in Azure OpenAI deployments where you have a different deployment per model, so the current fallback implementation doesn't work (still uses the same deployment for each fallback attempt)
2023-08-07 16:18:48 +03:00
Ori Kotek
886139c6b5
Support adding / removing reaction from comments in GitHub different servers 2023-08-07 16:18:08 +03:00
Ori Kotek
8f751f7371
Default timeout for AI is now 180s, configurable 2023-08-07 13:26:28 +03:00
Ori Kotek
a00038fbd8
Merge remote-tracking branch 'origin/main' into patch-1 2023-08-06 18:09:09 +03:00
Krrish Dholakia
703215fe83 updating secrets template 2023-08-05 22:53:59 -07:00
Krrish Dholakia
0f975ccf4a bug fixes 2023-08-05 22:50:41 -07:00
mrT23
7367c62cf9
TestFindLineNumberOfRelevantLineInFile 2023-08-06 08:31:15 +03:00
mrT23
fed0ea349a
find_line_number_of_relevant_line_in_file
find_line_number_of_relevant_line_in_file
2023-08-06 08:13:07 +03:00
Krrish Dholakia
ed8554699b bug fixes and updates 2023-08-03 16:05:46 -07:00
mrT23
0e3dbbd0f2
fix major bug in gitlab 2023-08-03 22:51:38 +03:00
mrT23
7a57db5d88
load_large_diff is done once 2023-08-03 22:14:05 +03:00
Krish Dholakia
102edcdcf1
adding support for Anthropic, Cohere, Replicate, Azure 2023-08-03 12:04:08 -07:00
mrT23
c92648cbd5
caching 2023-08-03 21:38:18 +03:00
Hussam Lawen
26b008565b
Merge pull request #170 from Codium-ai/tr/edge_case_for_hunks
Handling edge case for hunks in git patch processing
2023-08-03 12:11:27 +03:00
mrT23
0dec24aa37
edge case for hunks 2023-08-03 10:50:22 +03:00
mrT23
cfa14178f8
Merge pull request #168 from Codium-ai/tr/further_use_commit_messages
Use commit messages in PR tools
2023-08-03 07:58:25 +03:00
mrT23
3e94a71dcd
commit_messages_str is used in all tools 2023-08-02 18:26:39 +03:00
zmeir
dd14423b07 Add /config command to list the possible configuration settings 2023-08-02 16:42:54 +03:00
Ori Kotek
ab607d74be
Support repo-specific configuration file 2023-08-01 18:36:20 +03:00
Ori Kotek
e12874b696
Support repo-specific configuration file 2023-08-01 17:44:08 +03:00
Ori Kotek
696e2bd6ff
Support repo-specific configuration file 2023-08-01 17:27:25 +03:00
Ori Kotek
450f410e3c
Support repo-specific configuration file 2023-08-01 17:22:03 +03:00