Commit graph

357 commits

Author SHA1 Message Date
Pratul Sanwal
443d06df06 Add configuration option to control publish of no code suggestions message 2024-11-01 15:38:16 -04:00
mrT23
8db7151bf0
Add suggestion tracking feature with wiki documentation support 2024-10-27 15:49:10 +02:00
mrT23
0b32b253ca
docs: update default setting for publish_labels to false and adjust related documentation 2024-10-21 17:56:15 +03:00
mrT23
76d95bb6d7
feat: add ticket compliance check
- Implement ticket compliance check logic in `utils.py` and `ticket_pr_compliance_check.py`
- Add functions to extract and cache PR tickets, and check ticket relevancy
2024-10-10 10:01:48 +03:00
mrT23
23a3e208a5
docs: update improve.md with folding suggestions feature and add config option 2024-10-08 20:51:45 +03:00
mrT23
8ff8b1d48e
default 2024-10-01 08:22:28 +03:00
mrT23
da0bd84746
dual 2024-10-01 08:20:16 +03:00
mrT23
dfa4f22be2
feat: add dual publishing mode for PR code suggestions
- Introduced dual publishing mode to present high-scoring suggestions as both table entries and commitable PR comments.
- Updated documentation to include configuration options for dual publishing mode.
- Enhanced `pr_code_suggestions.py` to handle dual publishing logic and error handling.
- Modified `configuration.toml` to include `duel_publishing_score_threshold` setting.
2024-10-01 08:01:27 +03:00
Tal
2e79392a5f
Merge pull request #1256 from Codium-ai/mrT23-patch-2
disable chat message for github action
2024-09-30 07:40:04 +03:00
mrT23
d77a819d92
Add intro text option for PR reviews in configuration and utils 2024-09-29 07:06:48 +03:00
Tal
1333ac47bc
Update configuration.toml 2024-09-26 18:24:11 +03:00
mrT23
8bdebcb99f
Enable intro and chat text for PR code suggestions in configuration 2024-09-26 17:11:00 +03:00
mrT23
89f9cf5adc
Add intro and chat text options for PR code suggestions in configuration 2024-09-26 09:07:51 +03:00
mrT23
804cb9ec1d
DocHelper 2024-09-22 15:55:18 +03:00
mrT23
0198c61cf7
update docs 2024-09-22 09:00:56 +03:00
mrT23
4b74506107
Add PR help message functionality and update dependencies
- Implement PRHelpMessage class to provide AI-powered assistance for pull requests.
- Add methods for similarity search using local, S3, and Pinecone databases.
- Update `requirements.txt` to include new dependencies for langchain and chromadb.
- Modify `configuration.toml` to include `force_local_db` setting for PR help.
- Update `aiohttp` and `openai` package versions.
2024-09-21 16:22:51 +03:00
Tal
80fe297bc9
Merge pull request #1231 from matanbaruch/main
Update PR Action Handling Logic in GitHub Action Runner
2024-09-15 15:30:34 +03:00
mrT23
fdb1ff8057
update best practics 2024-09-15 12:36:00 +03:00
Matan Baruch
0851767774
Update configuration.toml 2024-09-15 09:35:58 +03:00
mrT23
a8367d1a22
docs: add dynamic context strategy documentation and update configuration settings
- Added detailed documentation on the dynamic context strategy in `dynamic_context.md`.
- Updated configuration settings in `configuration.toml` to enable dynamic context by default.
- Adjusted context line parameters in `additional_configurations.md` to reflect new defaults.
- Announced dynamic context as the default option in the `README.md` news section.
2024-09-12 11:37:52 +03:00
mrT23
c8e8ed89d2
feat: integrate Dynaconf for configuration management and enhance config display 2024-09-09 08:31:20 +03:00
mrT23
8706f643ef
enable ai_metadata 2024-09-08 16:26:26 +03:00
mrT23
d01cfe443c
avoid_full_files 2024-09-07 11:44:24 +03:00
mrT23
147a8e0ef3
refactor: consolidate PR ignore logic into a single function and update documentation 2024-09-07 11:26:13 +03:00
Paolo Mainardi
39913ef12a
fix: remove specific configurations 2024-09-06 20:23:33 +02:00
Paolo Mainardi
14b4723734
feat: move configuration to a common config section, add documentation 2024-09-06 18:32:46 +02:00
Paolo Mainardi
adce35765b
feat: implement skip branches for github, add ignore title to gitlab 2024-09-02 16:26:50 +02:00
Paolo Mainardi
fdcbdfce98
feat: gitlab skip source, target and labels 2024-08-30 16:40:23 +02:00
Tal
745e955d1f
Merge pull request #1145 from MarkRx/feature/litellm-logging-observability
Add and document abilty to use LiteLLM Logging Observability tools
2024-08-22 09:58:53 +03:00
mrT23
2d5b060168
patch_extension_skip_types 2024-08-20 11:33:56 +03:00
mrT23
df57367426
Update configuration.toml to modify fallback models and add skip types for patch extension logic 2024-08-20 11:24:52 +03:00
MarkRx
8aa76a0ac5 Add and document abilty to use LiteLLM Logging Observability tools 2024-08-19 15:45:47 -04:00
mrT23
fc40ca9196
Refactor dynamic context handling in git patch processing and update configuration default 2024-08-19 08:38:26 +03:00
mrT23
e9535ea164
Add dynamic context handling in git patch processing
- Introduce `allow_dynamic_context` and `max_extra_lines_before_dynamic_context` settings.
- Adjust context limits dynamically based on section headers.
- Add logging for dynamic context adjustments and section header findings.
2024-08-18 17:45:18 +03:00
mrT23
c76aabc71e
Add callback functionality to litellm_ai_handler for enhanced logging and metadata capture 2024-08-17 09:15:05 +03:00
mrT23
3456c8e039
Add 'original_suggestion' parameter to publish_inline_comment methods across git providers for enhanced inline comment handling 2024-08-16 08:58:51 +03:00
mrT23
23aa2a9388
Refactor patch extension logic to handle cases with zero extra lines 2024-08-11 13:59:27 +03:00
mrT23
9c3f080112
comments 2024-08-11 12:15:47 +03:00
mrT23
983233c193
Clarify comments for patch_extra_lines_before and patch_extra_lines_after in configuration.toml 2024-08-11 11:48:50 +03:00
mrT23
e238a88824
Add tests for patch extension and update configuration for extra lines handling
- Added unit tests in `test_extend_patch.py` and `test_pr_generate_extended_diff.py` to verify patch extension functionality with extra lines.
- Updated `pr_processing.py` to include `patch_extra_lines_before` and `patch_extra_lines_after` settings.
- Modified `configuration.toml` to adjust `patch_extra_lines_before` to 4 and `max_context_tokens` to 16000.
- Enabled extra lines in `pr_code_suggestions.py`.
- Added new model `claude-3-5-sonnet` to `__init__.py`.
2024-08-11 09:21:34 +03:00
mrT23
61bdfd3b99
patch_extra_lines_before and patch_extra_lines_after 2024-08-10 21:55:51 +03:00
mrT23
0fa342ddd2
pr_description.final_update_message=false 2024-08-01 09:51:35 +03:00
MarkRx
0390a85f5a Add missing bitbucket_server.pr_commands default 2024-07-30 09:45:45 -04:00
mrT23
86d9612882
docs: update usage guide for changing models; add custom model support and reorganize sections 2024-07-28 08:55:01 +03:00
mrT23
778d7ce1ed
config 2024-07-27 17:54:36 +03:00
mrT23
3067afbcb3
Update seed handling: log fixed seed usage; adjust default seed and temperature in config 2024-07-27 17:50:59 +03:00
mrT23
70f7a90226
Add E2E tests workflow for GitHub, GitLab, and Bitbucket; update configuration settings and build-and-test workflow 2024-07-27 17:26:24 +03:00
mrT23
ac247dbc2c
Add end-to-end tests for GitHub, GitLab, and Bitbucket apps; update temperature setting usage across tools 2024-07-27 17:19:32 +03:00
Tal
aaf037570b
Update configuration.toml
remove dead codde
2024-07-24 19:56:50 +03:00
mrT23
5d6e1de157
review with links 2024-07-14 08:53:53 +03:00
mrT23
f76f750757
best_practices 2024-07-09 07:49:30 +03:00
Hussam.lawen
0c3940b6a7
persistent release notes 2024-07-03 16:38:13 +03:00
mrT23
3e6263e1cc
async calls 2024-06-30 17:33:48 +03:00
mrT23
11abce3ede
s 2024-06-27 08:36:40 +03:00
mrT23
a57896aa94
s 2024-06-26 21:05:00 +03:00
mrT23
0f920bcc5b
s 2024-06-26 20:11:20 +03:00
mrT23
9034e18772
Add is_auto_command config check to conditionally publish output and update GitHub App to set this flag 2024-06-19 11:51:10 +03:00
mrT23
3affe011fe
Update Bitbucket app commands to include suggestions score threshold in documentation and configuration 2024-06-19 08:30:45 +03:00
mrT23
bc09330a44
Add self-review checkbox functionality to improve tool and update documentation 2024-06-17 20:26:09 +03:00
Tal
aac7aeabd1
Update PR review prompts and terminology for clarity and consistency (#954)
* Update PR review prompts and terminology for clarity and consistency
2024-06-10 08:44:11 +03:00
Tal
12b0df4608
committable checbox (#951)
* Add "apply suggestions" feature to README, improve.md, and configuration.toml
2024-06-06 18:04:40 +03:00
mrT23
d046c2a939
gitlab push_commands will work 2024-06-05 11:25:10 +03:00
mrT23
4d96d11ba5
enterprise 2024-06-04 20:15:22 +03:00
mrT23
8e12787fc8
Clear secret provider configuration in configuration.toml 2024-06-04 16:42:54 +03:00
mrT23
213ced7e18
Add PR evaluation prompt and link to fine-tuning benchmark documentation 2024-06-04 16:37:35 +03:00
mrT23
17f46bb53b
Add large_patch_policy configuration and implement patch clipping logic 2024-05-29 13:42:44 +03:00
mrT23
83ff9a0b9b
final_update_message 2024-05-22 21:49:33 +03:00
mrT23
71770f3c04
Update default setting of final_update_message to false in describe.md and configuration.toml 2024-05-20 14:25:51 +03:00
mrT23
2880e48860
Refactor model selection logic for PR tools and update turbo model to gpt-4o 2024-05-19 12:29:06 +03:00
mrT23
ea4ee1adbc
Add show_relevant_configurations function and integrate it across tools to output relevant configurations if enabled 2024-05-18 13:09:50 +03:00
mrT23
fbacc7c765
artifact 2024-05-13 09:19:08 +03:00
mrT23
1ebc20b761
self_reflect 2024-05-12 13:49:28 +03:00
mrT23
34ad5f2aa2
toolbar emojis in pr-agent feedbacks 2024-05-05 13:33:54 +03:00
mrT23
7563af08a0
docs 2024-04-18 08:44:08 +03:00
mrT23
2f4e40860d
Replace keep_original_user_title with generate_ai_title for PR description customization and update documentation accordingly 2024-04-17 16:29:12 +03:00
mrT23
b076c33351
commitable_code_suggestions 2024-04-17 15:32:45 +03:00
mrT23
f0230fce79
gpt-4-turbo-2024-04-09 2024-04-14 12:37:54 +03:00
mrT23
8f0f08006f
s 2024-04-14 12:00:19 +03:00
idubnori
9e4ffd824c
Merge branch 'main' into feature/gha-outputs-1 2024-04-10 23:27:44 +09:00
idubnori
75c4befadf feat: set review data to github actions output 2024-04-10 01:02:05 +09:00
mrT23
3ebb72e3f1
feat: add persistent comment option for PR descriptions 2024-04-02 17:52:34 +03:00
mrT23
8bda365636
docs: Add "Improve Component" tool documentation and update related guides 2024-03-31 12:13:25 +03:00
mrT23
903d74b2f7
ignore_bot_pr = true 2024-03-25 11:42:24 +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
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
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
koid
1ed2cd064a add config litellm.drop_params 2024-03-13 11:20:02 +09:00
mrT23
8324e9a38d
can_be_split 2024-03-10 16:56:32 +02:00
mrT23
2f6f1d5879
Add command execution functionality to Bitbucket app and update configuration settings 2024-03-06 07:53:13 +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
f1bd67b7e9
Remove functionality and references to 'remove_previous_review_comment' option 2024-03-03 11:24:30 +02:00
mrT23
db796416d9
wiki 2024-03-02 20:16:29 +02:00
mrT23
a5cb35418e
remove 'review_requested' (can trigger rate limit, and doesnt make sense algorighmically) 2024-02-26 14:20:50 +02:00
mrT23
877796b539
Refactor logging statements for better readability and debugging 2024-02-25 09:46:07 +02:00
mrT23
8b76eb1014
fixed bugs with incremental review 2024-02-22 18:03:00 +02:00
mrT23
b884920ef2
Refactor github_app.py to improve handling of PR events and comments 2024-02-22 17:26:47 +02:00
Ori Kotek
e3dba12fea
Adds an option to ignore PR opens by regex matching 2024-02-22 12:14:04 +02:00
mrT23
275f0d6a05
Update GitLab configuration and documentation for webhook setup 2024-02-21 09:20:28 +02:00
mrT23
0e3417b4ab
webhook 2024-02-21 08:55:59 +02:00
mrT23
34e89e45bd
help improved 2024-02-19 21:07:24 +02:00
mrT23
688cb374f6
lint 2024-02-18 08:19:01 +02:00
mrT23
cb3ebd9169
Update README and documentation with new CI Feedback tool 2024-02-16 20:40:45 +02:00
Ori Kotek
8a677e07a2
Fix a typo 2024-02-11 16:39:38 +02:00
Ori Kotek
3f42bb6793
Add AI disclaimer fields to configuration.toml 2024-02-11 16:22:26 +02:00
mrT23
fa077dc516
formatting 2024-02-08 18:55:58 +02:00
mrT23
a7ce2b11b4
parallel_calls 2024-02-07 08:00:01 +02:00
mrT23
b190b1879e
auto approval 2024-02-06 09:09:07 +02:00
mrT23
cce3c70369
- patch_extra_lines = 1
- describe is with turbo model (for larger context)
2024-02-05 12:03:30 +02:00
mrT23
d04d8b616a
moving the 'improve' command to turbo mode, with auto_extended=true 2024-02-01 09:46:04 +02:00
mrT23
8d36e2e2f7
feat: Add new configuration options in pr_test section and update TEST.md documentation 2024-01-29 20:17:39 +02:00
mrT23
40a7ef9132
s 2024-01-29 11:42:32 +02:00
mrT23
042eab1641
s 2024-01-29 11:39:50 +02:00
mrT23
47af04d158
s 2024-01-28 20:26:58 +02:00
mrT23
06dede29f2
feat: Update configuration and handling of GitHub Action settings 2024-01-27 21:15:23 +02:00
mrT23
4077c5556d
enable_review_labels_effort set to true by default 2024-01-24 19:49:43 +02:00
mrT23
d8465ea9f9
removed include_improved_code 2024-01-24 19:47:30 +02:00
Hussam.lawen
968684b461
update default config for inline_file_summary to false 2024-01-22 10:25:34 +02:00
Tal
2430a1a608
Merge pull request #594 from Codium-ai/tr/fallback_bad_review_comment
Enhanced Comment Verification and Fallback Mechanism for Inline Comment Publishing
2024-01-20 02:04:06 -08:00
Hussam.lawen
472646ddfd
Readme 2024-01-17 16:27:07 +02:00
mrT23
4e833c0c28
s 2024-01-17 15:43:01 +02:00
mrT23
58163e5129
improve usage guide 2024-01-17 09:50:48 +02:00
mrT23
abc05e7711
ask helper 2024-01-09 16:25:23 +02:00
zmeir
19c14b940e Try fixing invalid inline comments 2024-01-09 09:54:29 +02:00
zmeir
b0bffdec84 Refactor and add configuration toggle 2024-01-08 12:00:20 +02:00
mrT23
e9a2a0a96f
s 2024-01-08 10:37:51 +02:00
mrT23
578d15c6fc
usage guide 2024-01-07 16:38:08 +02:00
mrT23
edcb666fbc
docs: Reorganize and enhance documentation for review and describe tools 2024-01-07 09:28:06 +02:00
mrT23
ac74fa8431
docs 2024-01-05 21:28:54 +02:00
Tal
fe6b2065fb
Merge pull request #569 from zmeir/zmeir/enhance/auto_improve_extended_simple
Add toggle to automatically enable `/improve --extended`
2024-01-04 09:06:08 -08:00
Zohar Meir
c2b0891c0b
Simpler auto-extended toggle and keep the default as false 2024-01-04 18:53:45 +02:00
mrT23
ed78bfd946
use_collapsible_file_list 2024-01-04 10:27:07 +02:00
mrT23
3c2ed8bbf1
feat: Remove file walkthrough feature from PR agent 2024-01-04 09:42:15 +02:00
zmeir
0189e12fb1 Automatically enable improve extended mode for large PRs 2024-01-03 16:43:38 +02:00
mrT23
7dfc306e7c
feat: Add SOC2 compliance review feature to PR agent 2024-01-01 20:15:36 +02:00
KennyDizi
fce52a66ff feat: Update enable_help_text flag explaination 2023-12-27 10:22:43 +07:00
KennyDizi
dff31ff8f5 feat: Fix typo 2023-12-27 10:17:56 +07:00
KennyDizi
31168cd7de Get PR review enable help text from setting 2023-12-27 10:12:41 +07:00
mrT23
b1ce29e27a
global configuration 2023-12-26 16:45:39 +02:00
PrashantDixit-dev
26cb85c4f5 default pinecone 2023-12-25 14:50:15 +05:30
PrashantDixit-dev
1632696c2f Merge branch 'main' of github.com:PrashantDixit0/pr-agent 2023-12-25 00:41:28 +05:30
PrashantDixit-dev
d8d954bb0f lancedb integration 2023-12-25 00:38:24 +05:30
mrT23
08e9a91021
Merge pull request #547 from Codium-ai/tr/readme_update
Readme for PR-Agent-Pro
2023-12-24 06:30:04 -08:00
mrT23
0c4d451d9a
readme 2023-12-24 16:18:20 +02:00
mrT23
5c49ff216a
feat: Update inline comment creation in git providers and improve code suggestion handling
- Update `create_inline_comment` method in various git providers to include `absolute_position` parameter
- Remove `create_inline_comment` method from providers that do not support inline comments
- Enhance `find_line_number_of_relevant_line_in_file` function to handle absolute position
- Modify `pr_code_suggestions.py` to handle improved code inclusion in suggestions
- Add `include_improved_code` configuration option in `configuration.toml` and update documentation accordingly
2023-12-24 09:44:08 +02:00
Ori Kotek
ccb116922f
Merge pull request #529 from lukefx/bitbucket_webhook_improvements
feat: Improved server, security and commands
2023-12-20 17:27:06 +02:00
Luca Simone
7a5acb29ac feat: Improved server, security and commands
Signed-off-by: Luca Simone <info@lucasimone.info>
2023-12-17 17:38:27 +01:00
mrT23
81da328ae3
feat: Add automatic tool configuration for Bitbucket app in bitbucket_app.py and configuration.toml, update Usage.md 2023-12-12 08:06:20 +02:00
mrT23
cf3401536a
feat: Remove 'Refactoring' label from custom labels and update related descriptions 2023-12-05 07:48:21 +02:00
Hussam.lawen
d2a129fe30
Add labeling files 2023-12-04 18:22:35 +02:00