Commit graph

194 commits

Author SHA1 Message Date
mrT23
f4a226b0f7
Merge pull request #113 from Codium-ai/tr/cli_refactor
Refactoring CLI Commands Handling
2023-07-23 08:37:26 +03:00
mrT23
f5e2838fc3
refactor 2023-07-21 22:12:51 +03:00
mrT23
bbdfd2c3d4
Merge pull request #108 from patryk-kowalski-ds/deepsense.ai/configurable-language-extensions
Configurable Language Extensions
2023-07-21 21:47:52 +03:00
sambone
05f29cc406 Fix TypeError for GitlabProvider 2023-07-20 11:49:42 -05:00
Ori Kotek
63c4c7e584
Merge pull request #90 from zmeir/zmeir-output_progress
Add Option to Control Comment Publishing Progress
2023-07-20 18:48:20 +03:00
Patryk Kowalski
79cb94b4c2 Add use_extra_bad_extensions to configuration.toml 2023-07-20 15:41:03 +02:00
Patryk Kowalski
a71a12791b Move hard-coded language configurations to a configuration file.
Load this configuration file in the config loader.
2023-07-20 15:37:42 +02:00
Ori Kotek
2e246869d0
Retry on rate limit error on OpenAI calls 2023-07-20 15:02:34 +03:00
Ori Kotek
2f9546e144
Retry on rate limit error on OpenAI calls 2023-07-20 15:01:12 +03:00
mrT23
cd0438005b
Merge pull request #101 from Codium-ai/tr/docstring
Adding Docstrings to Python Files
2023-07-20 11:53:17 +03:00
Hussam.lawen
6cd38a37cd
fix question cli 2023-07-20 11:10:34 +03:00
mrT23
12e51bb6aa
Merge remote-tracking branch 'origin/main' into tr/docstring 2023-07-20 10:54:53 +03:00
mrT23
e2a4cd6b03
docstring 2023-07-20 10:51:21 +03:00
mrT23
3d5d517f2a
code suggestions 2023-07-19 20:57:14 +03:00
mrT23
a2eb2e4dac
Update pr_agent/git_providers/github_provider.py 2023-07-19 20:31:10 +03:00
mrT23
d89792d379
PR Type label 2023-07-19 20:25:54 +03:00
Ori Kotek
df25a3ede2
typo 2023-07-19 18:22:26 +03:00
Ori Kotek
4c36fb4df2
args bug 2023-07-19 18:18:18 +03:00
Ori Kotek
67c61e0ac8
Update help 2023-07-19 17:27:12 +03:00
Ori Kotek
0985db4e36
Update help 2023-07-19 17:20:26 +03:00
Ori Kotek
ee2c00abeb
split(" ") -> split() 2023-07-19 17:14:55 +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
36be79ea38
ignore merge from main 2023-07-19 16:14:59 +03:00
Hussam.lawen
523839be7d
Merge commit 'd1586ddd77b86f0d3b29aee3370f29624799e388' into hl/incremental_review 2023-07-19 16:14:33 +03:00
mrT23
7fdbd6a680
Update utils.py 2023-07-19 15:12:50 +03:00
Hussam.lawen
17b40a1fa1
Merge commit '7abbe08ff15d31c7e20de6d88638bfe27430c2f4' into hl/incremental_review 2023-07-19 14:24:44 +03:00
Hussam.lawen
c47e74c5c7
Merge commit '5bc2ef1eff1f570779191a8f3c7a562f5b8fe230' into hl/incremental_review 2023-07-19 14:24:01 +03:00
mrT23
7abbe08ff1
Merge pull request #95 from Codium-ai/tr/disable_review_suggestiosn
disable code suggestions by default for review
2023-07-19 14:23:54 +03:00
Hussam.lawen
8038b6ab99
refactor and clean 2023-07-19 14:22:34 +03:00
zmeir
6e26ad0966 Merge branch 'main' into zmeir-review_score 2023-07-19 13:37:55 +03:00
zmeir
7e2449b228 Changed score type to int 2023-07-19 13:37:35 +03:00
mrT23
97bfee47a3
minor fixes 2023-07-19 11:34:55 +03:00
Ori Kotek
5bc2ef1eff
Merge pull request #92 from YuviGold/deploy-on-lambda
Deployment on AWS Lambda
2023-07-19 11:12:29 +03:00
zmeir
8868c92141 Merge branch 'main' into zmeir-review_score 2023-07-19 11:05:24 +03:00
zmeir
e17dd66dce Disable score review by default 2023-07-19 11:00:28 +03:00
zmeir
fc8494d696 Rephrase score description in promt 2023-07-19 10:59:52 +03:00
zmeir
f8aea909b4 Add example output 2023-07-19 10:57:35 +03:00
mrT23
ccddbeccad
num_code_suggestions=0 for review 2023-07-19 09:34:17 +03:00
mrT23
a47fa342cb
Merge pull request #88 from zmeir/zmeir-cli_args
CLI Arguments Refactoring
2023-07-19 08:15:19 +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
Yuval Goldberg
dc67e6a66e Support deploying pr-agent on AWS Lambda 2023-07-18 17:46:42 +03:00
zmeir
6d91f44634 Added configuration option to control publishing review progress
This can be useful in a few situations:
1. To reduce the number of GitHub API calls (thus avoiding hitting the rate limit)
2. When the trigger for the agent is an external process (e.g. some external CI job), so there is no need to publish a message like "preparing review..." because it's not a part of a natual conversation with the user
2023-07-18 16:41:58 +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
zmeir
77f243b7ab Allow passing CLI args (helps with debugging) 2023-07-18 16:39:46 +03:00
mrT23
c507785475
bugfix 2023-07-18 16:32:51 +03:00
Hussam Lawen
3efe08d619
Merge pull request #85 from Codium-ai/hl/always_filer_bad_extensions
Filter out bad files before getting their head and original source code and diff
2023-07-18 13:50:25 +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