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
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
99a676d792
Merge remote-tracking branch 'origin/main' into tr/split
2024-03-17 09:00:04 +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
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
476d64bc18
fix
2024-03-11 11:30:05 +02:00
Hussam.lawen
ad240f7640
small fix
2024-03-11 10:13:41 +02:00
Hussam.lawen
84dadb0469
rename + check github
2024-03-11 09:42:10 +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
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
Ori Kotek
1ff0afabae
Refactor update changelog
2024-03-07 00:48:33 +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
eed23a7aaa
Add truncation and summarization features to PR code suggestions
2024-03-04 08:16:05 +02:00
mrT23
aa9dbf7111
updated readme
2024-03-03 15:04:59 +02:00
mrT23
f1bd67b7e9
Remove functionality and references to 'remove_previous_review_comment' option
2024-03-03 11:24:30 +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
047c370683
Update README.md and add gfm markdown support check in pr_help_message.py
2024-02-28 09:20:14 +02:00
mrT23
07f507c442
remove_initial_comment
2024-02-28 09:08:48 +02:00
mrT23
39538c5356
cleaning
2024-02-28 09:01:39 +02:00
mrT23
0c654b3b64
handle unsupported platforms for update changelog
2024-02-28 08:41:25 +02:00
mrT23
8594c93186
improve tweaks
2024-02-26 12:05:29 +02:00
mrT23
1275cf0123
adjustment
2024-02-25 16:23:44 +02:00
mrT23
dad3d3429f
artifact
2024-02-25 10:45:15 +02:00
mrT23
984a2888ae
Refactor logging statements for better readability and debugging
2024-02-25 10:04:04 +02:00
mrT23
877796b539
Refactor logging statements for better readability and debugging
2024-02-25 09:46:07 +02:00
KennyDizi
3bcf085f61
Fix context
2024-02-24 17:00:58 +07:00
KennyDizi
f3a712683a
Use constant in stead of hard code number for collapsible file list threadhold
2024-02-24 16:53:18 +07:00
mrT23
b1dfd905c4
text
2024-02-21 09:40:39 +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
mrT23
82ba285395
finalize
2024-02-19 21:44:00 +02:00
mrT23
2be0339a27
help improved
2024-02-19 21:42:13 +02:00
mrT23
8d6c6a35db
help improved
2024-02-19 21:10:20 +02:00
mrT23
34e89e45bd
help improved
2024-02-19 21:07:24 +02:00
mrT23
36aa22bd18
Refactor PR help message and update related documentation
2024-02-19 08:30:45 +02:00
mrT23
28e8707c1b
Added PRHelpMessage to command execution in pr_agent.py
2024-02-18 13:16:07 +02:00
mrT23
687ece1e86
Added PRHelpMessage to command execution in pr_agent.py
2024-02-18 13:09:17 +02:00
mrT23
0515b80247
Added PRHelpMessage to command execution in pr_agent.py
2024-02-18 13:08:05 +02:00
mrT23
ed5856493c
Added PRHelpMessage to command execution in pr_agent.py
2024-02-18 13:06:57 +02:00
mrT23
e9382b18b6
Added PRHelpMessage to command execution in pr_agent.py
2024-02-18 12:01:16 +02:00
Tal
7b15101051
Merge pull request #661 from Codium-ai/hl/ask_line
...
Hl/ask line
2024-02-17 22:08:55 -08:00
Tal
2b12042a85
Merge pull request #667 from Codium-ai/tr_ado
...
azure webhook
2024-02-17 22:01:57 -08:00
mrT23
de4af313ba
azure dev ops
2024-02-17 19:40:06 +02:00
Hussam.lawen
24dd57e5b7
clean
2024-02-15 17:14:06 +02:00
Hussam.lawen
fff52e9e26
Add ask line feature
2024-02-15 14:25:22 +02:00
mrT23
2f327c26e8
auto approve
2024-02-13 11:21:59 +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
c75413fac5
count_chars_without_html
2024-02-11 11:37:11 +02:00
mrT23
4e386153ea
insert_br_after_x_chars can already handle code
2024-02-11 11:32:16 +02:00
mrT23
796e203c01
rstrip()
2024-02-09 11:45:12 +02:00
mrT23
555151602f
rstrip()
2024-02-09 11:26:43 +02:00
mrT23
fa077dc516
formatting
2024-02-08 18:55:58 +02:00
Hussam.lawen
a3f4c44632
PR Review
2024-02-08 15:25:43 +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
1c9bd3e9a8
get_pr_url
2024-02-06 09:26:00 +02:00
mrT23
b190b1879e
auto approval
2024-02-06 09:09:07 +02:00
mrT23
c1c7b3b6da
fixed code
2024-02-05 13:00:57 +02:00
mrT23
2b6e8c3f09
minor change
2024-02-05 12:39:03 +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
32e8ba331a
insert_br_after_x_chars
2024-02-05 10:12:47 +02:00
mrT23
2ee329674f
insert_br_after_x_chars
2024-02-05 09:20:36 +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
f4037e0dfa
feat: Add LanceDB support for similar_issue tool and refactor SOC2 compliance feature name
2024-01-24 19:40:58 +02:00
Hussam.lawen
8d513e078a
Add changes title of files and improve table style and alignments
2024-01-21 13:43:37 +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
mrT23
abc05e7711
ask helper
2024-01-09 16:25:23 +02:00
mrT23
46a38473e4
Merge remote-tracking branch 'origin/main' into tr/unique_titles
2024-01-08 10:30:58 +02:00
mrT23
c9e55be275
s
2024-01-08 10:30:47 +02:00
mrT23
9c054bb80f
s
2024-01-08 09:18:46 +02:00
Tal
78fa61eac6
Merge branch 'main' into tr/user_description
2024-01-07 22:55:18 -08:00
mrT23
3ea08a6cf5
feat: Add debug logs to git_provider and pr_description modules
2024-01-07 19:57:49 +02:00
mrT23
3154ebbf9f
feat: Add debug logs to git_provider and pr_description modules
2024-01-07 19:56:05 +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
355ef8c476
feat: Update adaptive collapsible file list logic in pr_description.py
2024-01-06 10:36:36 +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
Tal
782f1ca1bd
Merge pull request #568 from Codium-ai/tr/user_description
...
Enhancement: Improved Extraction and Placement of User Descriptions in PRs
2024-01-04 08:35:34 -08:00
mrT23
7762bf59bf
feat: Update user description extraction and placement in PR description
2024-01-04 18:01:55 +02:00
mrT23
3e29848cd0
Merge remote-tracking branch 'origin/main' into tr/user_description
...
# Conflicts:
# pr_agent/git_providers/git_provider.py
2024-01-04 17:49:10 +02:00
mrT23
c3b5aaf8cc
feat: Update user description extraction and placement in PR description
2024-01-04 17:46:24 +02:00
zmeir
1ade09eaa3
Fix failing /config command
...
All commands need the `ai_handler` argument. The PRConfig class was missing it in the `__init__` method and so it failed with this error:
```
File "/home/vcap/app/pr_agent/agent/pr_agent.py", line 76, in handle_request
await command2class[action](pr_url, ai_handler=self.ai_handler, args=args).run()
TypeError: PRConfig.__init__() got an unexpected keyword argument 'ai_handler'
```
2024-01-04 14:49:34 +02:00
mrT23
ed78bfd946
use_collapsible_file_list
2024-01-04 10:27:07 +02:00
mrT23
4204d78d7e
feat: Remove file walkthrough feature from PR agent
2024-01-04 09:59:44 +02:00
mrT23
3c2ed8bbf1
feat: Remove file walkthrough feature from PR agent
2024-01-04 09:42:15 +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
KennyDizi
37b040b50a
Use 'and' in lieu of '&' operator
2023-12-27 10:17:08 +07:00
KennyDizi
31168cd7de
Get PR review enable help text from setting
2023-12-27 10:12:41 +07:00
mrT23
a6764c9058
feat: Update help text addition condition in pr_reviewer.py
2023-12-26 09:25:15 +02:00
mrT23
a854e1a408
feat: Refactor help text addition in pr_reviewer.py and update tool names in README.md
2023-12-26 09:18:38 +02:00
PrashantDixit-dev
1d435ef3fa
removed comments
2023-12-25 00:45:24 +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
e698c7e2f3
Merge pull request #546 from Codium-ai/tr/backticks_review
...
Single-label for suggestions
2023-12-24 03:35:49 -08: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
mrT23
eca8078071
feat: Reorder keys in PR description data and update PRDescription model in toml file
2023-12-21 08:51:57 +02:00
mrT23
c079deba21
feat: Enhance PR description formatting and update instructions in pr_description_prompts.toml
2023-12-20 16:45:21 +02:00
Hussam.lawen
6e63cf4014
Add log
2023-12-18 17:35:04 +02:00
mrT23
d2aef95847
Merge pull request #530 from Codium-ai/tr/labels
...
Enhancement: Implement label case conversion and update label descriptions in settings files
2023-12-18 03:21:48 -08:00
mrT23
1c4e64333c
feat: Implement label case conversion and update label descriptions in settings files
2023-12-18 12:29:06 +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
e37598fdca
Merge remote-tracking branch 'upstream/main' into abstract-BaseAiHandler
2023-12-14 07:45:43 +08: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
mrT23
1853b4ef47
Merge pull request #520 from Codium-ai/tr/bitbucket_app
...
Refactor auto tool execution order and enhance logging and documentation
2023-12-12 00:02:02 -08:00
mrT23
2f10b4f3c5
feat: Refactor auto tool execution order in bitbucket_app.py, add logging in pr_description.py, and update tool configuration instructions in Usage.md
2023-12-12 09:59:26 +02:00
Hussam Lawen
729f5e9c8e
Merge pull request #518 from Codium-ai/hl/github_native_labels
...
Refactoring Label Handling Across Git Providers
2023-12-11 16:50:19 +02:00
Hussam.lawen
fdc776887d
Refactor labels
2023-12-11 16:47:38 +02:00
mrT23
480e2ee678
feat: Improve PR description formatting in pr_description.py
2023-12-11 15:55:04 +02:00
mrT23
9b97073174
s
2023-12-11 12:00:44 +02: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
f908d02ab4
readme
2023-12-07 15:26:36 +02:00