Commit graph

1247 commits

Author SHA1 Message Date
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
mrT23
8a5b01b465
empty calc_pr_statistics 2024-04-08 14:49:00 +03:00
mrT23
84d8f78d0c
publish_output 2024-04-08 14:00:41 +03:00
mrT23
2be0e9108e
readme 2024-04-07 17:00:40 +03:00
mrT23
aa2121a48d
readme 2024-04-07 16:28:30 +03:00
mrT23
d6b037a63a
readme 2024-04-07 11:51:06 +03:00
mrT23
9c3673209d
TokenEncoder 2024-04-03 08:42:50 +03:00
mrT23
3ebb72e3f1
feat: add persistent comment option for PR descriptions 2024-04-02 17:52:34 +03:00
gregoryboue
501b059575
feat: allows ollama usage
Fix https://github.com/Codium-ai/pr-agent/issues/657
2024-04-02 11:01:45 +02:00
mrT23
8bda365636
docs: Add "Improve Component" tool documentation and update related guides 2024-03-31 12:13:25 +03:00
mrT23
c3b3651769
refine help 2024-03-31 11:43:00 +03:00
mrT23
79bdb9a69f
bugfix: validate output publishing with progress condition in pr_code_suggestions 2024-03-27 19:56:27 +02:00
idubnori
493f73f1ce chore: add logging the reason not execute 2024-03-27 12:03:27 +09:00
Tal
26c4a98fc8
Merge pull request #820 from riya-amemiya/riya-amemiya/change_gpt-4-turbo_model
add support for gpt-4-turbo-preview model
2024-03-26 10:46:51 +02:00
Riya Amemiya
a7494746df revert default model 2024-03-26 16:21:30 +09:00
mrT23
1491bcba96
logs 2024-03-26 08:09:33 +02:00
Yuta Nishi
d064a352ad
feat(pr_agent): add support for gpt-4-turbo-preview model and update default settings 2024-03-26 14:47:05 +09:00
mrT23
9c284e64cf
dont log pr-agent bot 2024-03-25 12:27:45 +02:00
mrT23
903d74b2f7
ignore_bot_pr = true 2024-03-25 11:42:24 +02:00
mrT23
3cdadb3ad1
always ignore bot 2024-03-25 09:04:07 +02:00
mrT23
695f0706a8
Refactor help text for clarity and update configuration links in help.py; standardize variable naming in cli.py 2024-03-25 08:53:13 +02:00
mrT23
07f5025b03
Refactor help text for clarity and update configuration links in help.py; standardize variable naming in cli.py 2024-03-25 08:51:59 +02:00
mrT23
ee4798acca
adjustments to pypi 2024-03-23 16:16:32 +02:00
mrT23
9a46690121
adjustments to pypi 2024-03-23 09:55:08 +02:00
mrT23
887d640ba5
Merge remote-tracking branch 'origin/main' into tr/pypi 2024-03-22 21:36:45 +02:00
mrT23
0816370b1a
adjustments to pypi 2024-03-22 21:36:22 +02:00
Tal
b4b2c7c620
Merge pull request #800 from koid/feature/ignore-bot-pr-on-github-app
Added `ignore_bot_pr` option
2024-03-21 18:42:45 +02:00
koid
cae0b96054 use sender_type on bot check 2024-03-21 12:06:46 +09:00
mrT23
29a2412de6
name 2024-03-20 08:36:46 +02:00
mrT23
b70225294c
Update 'improve' tool documentation and functionality: Add persistent comment option, adjust default values, and enhance comment handling in pr_code_suggestions.py 2024-03-20 08:14:08 +02:00
koid
b71523f13e use endswith 2024-03-18 16:14:58 +09:00
koid
80a793a257 ignore bot pr option on github app mode 2024-03-18 16:14:54 +09:00
Tal
dd83b196b4
Merge pull request #781 from koid/feature/support-bedrock-claude3
added support for bedrock/claude3
2024-03-18 08:03:29 +02:00
mrT23
b6dd57375f
Initialize current_labels to empty list if no labels exist in pr_reviewer.py 2024-03-17 11:39:10 +02:00
mrT23
498b4cb34e
readme 2024-03-17 09:59:55 +02:00
mrT23
6d39773a17
prompt 2024-03-17 09:44:50 +02:00
mrT23
99a676d792
Merge remote-tracking branch 'origin/main' into tr/split 2024-03-17 09:00:04 +02:00
mrT23
669e076938
Enhance AI handler logging and add main PR language attribute to AI handler in various tools 2024-03-16 13:52:02 +02:00
mrT23
74345284bd
Enhance AI handler logging and add main PR language attribute to AI handler in various tools 2024-03-16 13:47:44 +02:00
mrT23
1593d8932b
Refactor code in pr_code_suggestions.py and remove 'use_repo_settings_file' from azure.md and automations_and_usage.md 2024-03-15 12:37:50 +02:00
koid
3bae515e39 add claude-3-haiku 2024-03-14 16:58:44 +09:00
koid
f94a0fd704 add Claude3Config 2024-03-13 11:24:51 +09:00
koid
1ed2cd064a add config litellm.drop_params 2024-03-13 11:20:02 +09:00
koid
d62796ac68 update max_tokens 2024-03-13 11:14:04 +09:00
mrT23
78cabf28a4
Update label comparison logic in pr_reviewer.py and pr_description.py to consider unordered lists 2024-03-12 18:25:42 +02:00
mrT23
8b29c3a2be
typo 2024-03-12 18:18:08 +02:00
mrT23
785fbe04ae
update links 2024-03-12 17:42:19 +02:00
mrT23
31a8f5302a
Update get_pr_labels method to support label updates and prevent unnecessary label republishing 2024-03-12 17:02:45 +02:00
Hussam Lawen
42cd85b420
Merge pull request #769 from Codium-ai/hl/incremental_review_update
fix
2024-03-11 11:33:48 +02:00
Hussam.lawen
476d64bc18
fix 2024-03-11 11:30:05 +02:00
Hussam Lawen
72cbf36e6c
Merge pull request #768 from Codium-ai/hl/incremental_review_update
Hl/incremental review handle edge cases
2024-03-11 10:49:29 +02:00
Hussam.lawen
ad240f7640
small fix 2024-03-11 10:13:41 +02:00
Hussam.lawen
5c20fffee9
fix when no previous review where found, reivew -i should run as regular review 2024-03-11 09:59:16 +02:00
Hussam.lawen
84dadb0469
rename + check github 2024-03-11 09:42:10 +02:00
mrT23
86dc87831b
remove is_temporary 2024-03-11 09:37:51 +02:00
Tal
75800a745c
Merge pull request #764 from Codium-ai/hl/incremental_review_update
Hl/incremental review update
2024-03-11 00:03:16 -07:00
Tal
256d1a3369
Merge pull request #751 from danstis/fix/ado-spaces
Fix URL encoding in Azure DevOps webhook handler
2024-03-10 23:57:59 -07:00
mrT23
33a911da4c
log 2024-03-11 08:56:48 +02:00
mrT23
a27ad0feb6
log 2024-03-11 08:55:07 +02:00
mrT23
6c5697b07c
Enhance logging and refactor code in gitlab_webhook.py, update logger level in bitbucket_app.py and github_polling.py, remove redundant section in github.md 2024-03-11 08:50:19 +02:00
Hussam.lawen
5453507097
small fix 2024-03-10 17:19:27 +02:00
Hussam.lawen
003c49052e
skip incremental review if no file changed since last review 2024-03-10 17:15:25 +02:00
mrT23
4810b8549b
docs 2024-03-10 16:59:37 +02:00
mrT23
10a96d61ca
Merge remote-tracking branch 'origin/main' into tr/split
# Conflicts:
#	pr_agent/settings/pr_reviewer_prompts.toml
2024-03-10 16:57:25 +02:00
mrT23
8324e9a38d
can_be_split 2024-03-10 16:56:32 +02:00
Hussam.lawen
ff2346eacc
update markdown 2024-03-10 14:18:29 +02:00
mrT23
b4e9c55d8d
fixed bug in inline_code_suggestions in review 2024-03-10 07:50:12 +02:00
mrT23
bb341a6568
Fix missing colons in class definitions in pr_reviewer_prompts.toml 2024-03-10 07:39:10 +02:00
Dan Anstis
73624148a5 Fix URL encoding in Azure DevOps webhook handler 2024-03-08 04:39:57 +00:00
Ori Kotek
1ff0afabae
Refactor update changelog 2024-03-07 00:48:33 +02:00
mrT23
0690f2bbfd
Refactor litellm_ai_handler.py and update requirements.txt
- Replace retry library with tenacity for better exception handling
- Add verbosity level checks for logging prompts and AI responses
- Add support for HuggingFace API base and repetition penalty in chat completion
- Update requirements.txt with tenacity library
2024-03-06 12:13:54 +02:00
mrT23
26fb2a4164
Add support for Anthropic Claude-3 model in configuration and update Usage.md 2024-03-06 08:20:08 +02:00
mrT23
1c856a7d41
upgrade litellm 2024-03-06 08:06:59 +02:00
mrT23
2f6f1d5879
Add command execution functionality to Bitbucket app and update configuration settings 2024-03-06 07:53:13 +02:00
mrT23
c7eb70d00d
protections 2024-03-05 20:11:39 +02:00
mrT23
d77db93f80
protections 2024-03-05 18:34:18 +02:00
mrT23
acefbff62b
Add 'final_update_message' option to control publishing of update message in persistent comments 2024-03-05 17:29:17 +02:00
mrT23
da39149c61
Add unique_strings function and remove duplicate issues in utils.py; Update pr_reviewer_prompts.toml template 2024-03-04 11:07:39 +02:00
mrT23
eed23a7aaa
Add truncation and summarization features to PR code suggestions 2024-03-04 08:16:05 +02:00
mrT23
248c6b13be
Update suggestion content in pr_code_suggestions_prompts.toml 2024-03-04 07:56:44 +02:00
mrT23
aa9dbf7111
updated readme 2024-03-03 15:04:59 +02:00
Tal
0709d5f663
Merge pull request #730 from Codium-ai/tr/issue_header
Enhance markdown formatting fo issues
2024-03-03 04:06:04 -08:00
mrT23
c372c71514
prompt 2024-03-03 14:04:09 +02:00
mrT23
b3fd05c465
try-except 2024-03-03 13:58:10 +02:00
mrT23
f1bd67b7e9
Remove functionality and references to 'remove_previous_review_comment' option 2024-03-03 11:24:30 +02:00
mrT23
5880221d00
Update logger setup to include debug level in github_app.py 2024-03-02 23:32:26 +02:00
Tal
9a0288250d
Merge pull request #729 from Codium-ai/tr/wiki
wiki
2024-03-02 10:24:27 -08:00
mrT23
917bdd5cb8
Refactor Usage.md for improved readability and organization 2024-03-02 20:23:10 +02:00
mrT23
db796416d9
wiki 2024-03-02 20:16:29 +02:00
mrT23
35315c070f
major 2024-03-01 13:18:53 +02:00
mrT23
e589dcb489
Enhance markdown formatting and update prompt descriptions in pr_reviewer_prompts.toml 2024-03-01 13:02:50 +02:00
Ori Kotek
a86a3f52f0
a minor bugfix 2024-02-29 16:03:00 +02:00
Tal
2340f95488
Merge pull request #727 from Codium-ai/tr/repo_log
log event
2024-02-28 22:10:26 -08:00
mrT23
dd4dc4b761
log event 2024-02-29 08:09:25 +02:00
Tal
6a51a646ee
Merge pull request #725 from Codium-ai/tr/repo_log
get_log_context
2024-02-28 11:26:53 -08:00
mrT23
8d498cd70c
git_org 2024-02-28 16:14:13 +02:00
mrT23
d5e72c2183
get_log_context 2024-02-28 16:10:57 +02:00
mrT23
b09b936b15
get_log_context 2024-02-28 16:05:52 +02:00