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
mrT23
c7eb70d00d
protections
2024-03-05 20:11:39 +02:00
mrT23
d77db93f80
protections
2024-03-05 18:34:18 +02:00
mrT23
eed23a7aaa
Add truncation and summarization features to PR code suggestions
2024-03-04 08:16:05 +02:00
mrT23
dbe772e708
capitalize
2024-02-28 13:59:04 +02:00
mrT23
a8c5ac10b6
Merge remote-tracking branch 'origin/main' into tr/improve_tweaks
2024-02-28 11:09:48 +02:00
mrT23
07f507c442
remove_initial_comment
2024-02-28 09:08:48 +02:00
mrT23
8594c93186
improve tweaks
2024-02-26 12:05:29 +02:00
mrT23
dad3d3429f
artifact
2024-02-25 10:45:15 +02:00
mrT23
877796b539
Refactor logging statements for better readability and debugging
2024-02-25 09:46:07 +02:00
mrT23
4a0b12c036
Refactor reaction handling in GitHub provider and update help text in PR tools
2024-02-20 08:06:33 +02:00
Hussam.lawen
6c500413f1
default behavior for bitbucket
2024-02-11 13:14:47 +02:00
Hussam.lawen
d93a24bbf7
add loading comment to /improve
2024-02-11 12:14:25 +02:00
mrT23
b077873c3d
parallel_calls
2024-02-07 08:00:16 +02:00
mrT23
a7ce2b11b4
parallel_calls
2024-02-07 08:00:01 +02:00
mrT23
32e8ba331a
insert_br_after_x_chars
2024-02-05 10:12:47 +02:00
mrT23
d04d8b616a
moving the 'improve' command to turbo mode, with auto_extended=true
2024-02-01 09:46:04 +02:00
mrT23
15c8fe94bb
feat: Improve patch formatting and handle empty data in pr_code_suggestions.py
2024-01-29 22:00:11 +02:00
mrT23
0d86779799
feat: Improve patch formatting and handle empty data in pr_code_suggestions.py
2024-01-29 21:52:54 +02:00
Hussam.lawen
07eaa59e78
small fixes
2024-01-25 11:07:43 +02:00
mrT23
d8465ea9f9
removed include_improved_code
2024-01-24 19:47:30 +02:00
mrT23
39891e4ab1
feat: Improve error handling and code readability in pr_agent tools
2024-01-18 17:01:25 +02:00
mrT23
fc5b00f4d3
s
2024-01-18 16:11:44 +02:00
mrT23
e66bd7caa7
fallback to commitable
2024-01-17 11:18:30 +02:00
mrT23
58163e5129
improve usage guide
2024-01-17 09:50:48 +02:00
Hussam.lawen
d7e0aad527
small fixes
2024-01-16 09:41:31 +02:00
Hussam.lawen
31576b77ff
improve backticks
2024-01-15 19:07:41 +02:00
Hussam.lawen
ea39e8684f
works
2024-01-15 16:42:50 +02:00
Hussam.lawen
afefc15b9c
improve doce suggestions UI with difflib
2024-01-15 15:56:48 +02:00
Hussam.lawen
5e17ccaf86
add colaplsable
2024-01-15 15:17:57 +02:00
Hussam.lawen
9b1eb86d75
first iteration of improved UI for /improve --extended
2024-01-15 15:10:54 +02:00
mrT23
9c6aabb0bb
feat: Add custom labels and extra instructions sections to help.py, summarize mode to pr_code_suggestions.py, and summarize mode condition to pr_code_suggestions_prompts.toml
2024-01-09 22:09:48 +02:00
Zohar Meir
c2b0891c0b
Simpler auto-extended toggle and keep the default as false
2024-01-04 18:53:45 +02:00
zmeir
2f9fbbf0ac
Prevent reducing the number of suggestions if already low enough
2024-01-03 16:43:39 +02:00
zmeir
0189e12fb1
Automatically enable improve extended mode for large PRs
2024-01-03 16:43:38 +02:00
mrT23
5fd3fdfae1
feat: Add loop to populate suggestion_list in pr_code_suggestions.py
2023-12-24 10:08:36 +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
mrT23
5dc2595dcf
feat: Refactor code suggestion handling and update YAML schema in pr_code_suggestions.py and pr_code_suggestions_prompts.toml
...
- Update key names in pr_code_suggestions.py to use snake_case for consistency
- Implement removal of invalid suggestions where existing code is equal to improved code
- Update YAML parsing in _prepare_pr_code_suggestions method to include keys_fix_yaml parameter
- Refactor push_inline_code_suggestions method to use updated key names
- Update _prepare_prediction_extended method to use new key names
- Refactor _prepare_markdown method to include suggestion label and use updated key names
- Update instructions and YAML schema in pr_code_suggestions_prompts.toml to reflect changes in pr_code_suggestions.py
- Remove redundant removal of invalid suggestions in rank_suggestions method
2023-12-24 08:30:35 +02:00
Hussam.lawen
6e63cf4014
Add log
2023-12-18 17:35:04 +02:00
mrT23
5fb373b212
Refactor AI handler instantiation to use lazy initialization in PR tools
2023-12-17 16:52:03 +02:00
mrT23
246be6147f
Set LiteLLMAIHandler as default AI handler in all PR tools and simplify AI handler injection in PRAgent
2023-12-14 09:00:14 +02:00
mrT23
3531016a2c
Refactor AI handler instantiation in PRAgent and related classes
2023-12-14 08:53:22 +02:00
Brian Pham
557b39ec87
Merge branch 'base-ai-handler' into abstract-BaseAiHandler
2023-12-14 07:44:13 +08:00
Brian Pham
8fb4a42ef1
Update AI handler instantiation in server files
2023-12-13 08:16:02 +08:00
Brian Pham
7eb2e769cf
Move ai handlers to specific folder
2023-12-12 23:03:38 +08:00
Brian Pham
5239e1c3e9
Load default AI Handler from util function
2023-12-12 21:51:05 +08:00
Brian Pham
b8021d7ca3
rename file
2023-12-11 16:57:23 +08:00
Brian Pham
523a896465
Rename AiHandler to LiteLLMAiHandler
2023-12-11 16:56:49 +08:00
Brian Pham
c0303ff9ec
Merge remote-tracking branch 'upstream/main' into abstract-BaseAiHandler
2023-12-09 16:47:13 +00:00
Brian Pham
f2abe5c73e
Abstract AiHandler to BaseAiHandler
2023-12-09 16:39:25 +00:00
Brian Pham
7e47baa9db
Refactor AI handler classes
2023-12-10 00:25:25 +08:00
mrT23
3af9c3bfb9
feat: Enhance code suggestion publishing with language-specific formatting in pr_code_suggestions.py
2023-12-01 12:12:49 +02:00
mrT23
51e1278cd7
feat: Enhance inline comment publishing in Bitbucket provider and add logging for no suggestions in pr_code_suggestions.py
2023-11-28 18:29:35 +02:00
mrT23
b1c374808d
feat: Add line link generation in Bitbucket provider and improve markdown formatting in pr_code_suggestions.py and IMRPOVE.md
2023-11-26 17:12:02 +02:00
mrT23
20978402ea
s
2023-11-26 16:56:06 +02:00
mrT23
8f615e17a3
s
2023-11-26 16:42:41 +02:00
mrT23
5cbbaf44c9
feat: Add line link generation for GitLab and improve markdown formatting in pr_code_suggestions.py
2023-11-26 13:42:57 +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
mrT23
f36b672eaa
feat: Add option to summarize code suggestions in pr_code_suggestions.py
2023-11-26 11:22:14 +02:00
Ori Kotek
c324d88be3
Refactor logging system to use custom logger across the codebase
2023-10-16 14:56:00 +03:00
mrT23
e6548f4fe1
simpler solution
2023-10-08 16:57:22 +03:00
mrT23
1b3fb49f9c
publish each suggestion seperatly only on gitlab
2023-10-08 16:50:25 +03:00
mrT23
088f256415
stable
2023-10-05 17:03:10 +03:00
mrT23
4c72cfbff4
auto tools in github action
2023-09-25 18:56:10 +03:00
mrT23
632de3f186
protections
2023-09-20 07:39:56 +03:00
zmeir
c6c97ac98a
Try to change the improve command prompt to prevent split lines range
2023-08-30 23:33:38 +03:00
mrT23
2dc2a45e4b
yaml
2023-08-28 09:48:43 +03:00
mrT23
f4f040bf8d
publish each suggestion separably
2023-08-22 16:11:51 +03:00
mrT23
b85679e5e4
improve --extend
2023-08-22 09:42:59 +03:00
sarbjitgrewal
dff4646920
fix bitbucket improve issue
2023-08-18 17:48:45 +05:30
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
mrT23
7a57db5d88
load_large_diff is done once
2023-08-03 22:14:05 +03:00
mrT23
c92648cbd5
caching
2023-08-03 21:38:18 +03:00
mrT23
3e94a71dcd
commit_messages_str is used in all tools
2023-08-02 18:26:39 +03:00
Ori Kotek
d7b77764c3
Support context aware settings (for each incoming request), support override of settings, refactor CLI to use pr_agent.py
2023-08-01 14:43:26 +03:00
mrT23
3daf94954a
update_settings_from_args
2023-07-30 11:43:44 +03:00
mrT23
4664d91844
bug fixes in gitlab code suggestion
2023-07-28 11:24:14 +03:00
mrT23
8f16c46012
try-except
2023-07-28 10:52:49 +03:00
Ori Kotek
02a1d8dbfc
Add support for fallback models
2023-07-23 16:16:36 +03:00
mrT23
3d5d517f2a
code suggestions
2023-07-19 20:57:14 +03:00
Ori Kotek
90f97b0226
Lint fixes
2023-07-18 11:34:57 +03:00
mrT23
8f3520807c
minor fixes
...
minor fixes
2023-07-17 08:42:18 +03:00
Hussam.lawen
fc309f69b9
Support Code Suggestion in Gitlab
2023-07-17 01:44:40 +03:00
mrT23
4f4989af8c
full code suggestions
...
full code suggestions
2023-07-16 09:01:57 +03:00