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
mrT23
586785ffde
feat: Add pr_url attribute to git providers and final update message in PR description
2023-12-03 10:46:02 +02:00
mrT23
f96d4924e7
feat: Add line link generation in git providers and refactor code suggestions generation
2023-11-26 11:57:45 +02:00
Ori Kotek
613ccb4c34
Add support for base_url in GitHub SDK
2023-11-21 16:48:36 +02:00
mrT23
762a6981e1
extra_labels
2023-11-15 14:12:59 +02:00
mrT23
9478447141
extra_labels
2023-11-15 14:02:13 +02:00
mrT23
14610d5375
persistent
...
s
2023-11-08 20:16:08 +02:00
mrT23
094f641fb5
code
2023-11-07 14:38:37 +02:00
mrT23
a35a75eb34
get_max_tokens + added 'gpt-4-1106-preview'
2023-11-07 14:28:41 +02:00
mrT23
e352c98ce8
Merge pull request #431 from Codium-ai/hl/type_vs_labels
...
Refactoring PR Labels Handling and Display
2023-11-06 02:10:38 -08:00
Hussam.lawen
e96b03da57
add configuration enable_pr_type
2023-11-06 11:58:26 +02:00
zmeir
92071fcf1c
Stack all incremental parameters
2023-11-06 09:13:04 +02:00
zmeir
c623c3baf4
Added new configurations to prevent too frequent incremental commits on push trigger
2023-11-02 12:24:54 +02:00
Ori Kotek
61d3e1ebf4
Merge pull request #394 from zmeir/zmeir-external-push_trigger
...
Added support for automatic review on push event
2023-10-29 13:04:33 +02:00
Hussam Lawen
4dffabf397
Merge pull request #396 from Codium-ai/hl/custom_labels
...
Implement Custom Labels for PRs
2023-10-28 01:37:54 +03:00
Hussam.lawen
f53ec1d0cc
move enable custom labels to custom labels function
2023-10-27 21:12:58 +03:00
Hussam.lawen
0cf27e5fee
custom labels disabled by default
2023-10-27 07:54:59 +03:00
Hussam.lawen
f3bdbfc103
Add /generate_labels function + fix issues
2023-10-26 23:28:33 +03:00
zmeir
6541575a0e
Refactor to use pull_request synchronize event
2023-10-26 16:49:54 +03:00
zmeir
02570ea797
Remove previous review comment on push event
2023-10-26 16:46:54 +03:00
zmeir
65bb70a1dd
Added support for automatic review on push event
...
The new feature can be enabled via the new configuration `github_app.handle_push_event`. To avoid any unwanted side-effects, the current default of this configuration is set to `false`.
The high level flow (assuming the configuration is enabled):
1. receive push event from GitHub
2. extract branch and commits from event
3. find PR url for branch (currently does not support PRs from forks)
4. perform configured commands (e.g. `/describe`, `/review -i`)
The push event flow is guarded by a backlog queue so that multiple push events on the same branch won't trigger multiple duplicate runs of the PR-Agent commands.
Example timeline:
1. push 1 - start handling event
2. push 2 - waiting to be handled while push 1 event is still running
3. push 3 - event is dropped since handling it and handling push 2 is the same, so it is redundant
4. push 1 finished being handled
5. push 2 awakens from wait and continues handling (potentially reviewing the commits of both push 2 and push 3)
All of these options are configurable and can be enabled/disabled as per the user's desire.
Additional minor changes in this PR:
1. Created `DefaultDictWithTimeout` utility class to avoid too much boilerplate code in managing caches for outdated triggers.
2. Guard against running increment review when there are no new commits.
3. Minor styling changes for incremented review text.
2023-10-25 11:15:23 +03:00
Hussam.lawen
1a89c7eadf
refactor + add description options
2023-10-24 22:28:57 +03:00
Krystal Boozel
f9e4c2b098
Update configuration.toml
2023-10-23 21:34:12 -04:00
Hussam.lawen
fa24413201
Custom Labels
2023-10-23 16:29:33 +03:00
mrT23
a2c3db463a
use_bullet_points
2023-10-19 10:45:42 +03:00
mrT23
44239f1a79
Patch Extra Lines
2023-10-05 08:38:43 +03:00
Hussam.lawen
e941fa9ec0
Add to user tools guide
2023-10-01 19:51:15 +03:00
Hussam.lawen
ab5ac8ffa8
rename vars + Add to README.md
2023-10-01 13:52:00 +03:00
Hussam.lawen
ccc7f1e10a
rename vars
2023-10-01 13:07:08 +03:00
Hussam.lawen
cd3527f7d4
add configurable docstring style
2023-09-28 20:58:37 +03:00
Hussam.lawen
4accddcaa7
revert verbosity
2023-09-28 20:12:36 +03:00