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
eca8078071
feat: Reorder keys in PR description data and update PRDescription model in toml file
2023-12-21 08:51:57 +02:00
c079deba21
feat: Enhance PR description formatting and update instructions in pr_description_prompts.toml
2023-12-20 16:45:21 +02:00
6e63cf4014
Add log
2023-12-18 17:35:04 +02:00
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
1c4e64333c
feat: Implement label case conversion and update label descriptions in settings files
2023-12-18 12:29:06 +02:00
5fb373b212
Refactor AI handler instantiation to use lazy initialization in PR tools
2023-12-17 16:52:03 +02:00
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
3531016a2c
Refactor AI handler instantiation in PRAgent and related classes
2023-12-14 08:53:22 +02:00
e37598fdca
Merge remote-tracking branch 'upstream/main' into abstract-BaseAiHandler
2023-12-14 07:45:43 +08:00
557b39ec87
Merge branch 'base-ai-handler' into abstract-BaseAiHandler
2023-12-14 07:44:13 +08:00
8fb4a42ef1
Update AI handler instantiation in server files
2023-12-13 08:16:02 +08:00
7eb2e769cf
Move ai handlers to specific folder
2023-12-12 23:03:38 +08:00
5239e1c3e9
Load default AI Handler from util function
2023-12-12 21:51:05 +08:00
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
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
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
fdc776887d
Refactor labels
2023-12-11 16:47:38 +02:00
480e2ee678
feat: Improve PR description formatting in pr_description.py
2023-12-11 15:55:04 +02:00
9b97073174
s
2023-12-11 12:00:44 +02:00
b8021d7ca3
rename file
2023-12-11 16:57:23 +08:00
523a896465
Rename AiHandler to LiteLLMAiHandler
2023-12-11 16:56:49 +08:00
c0303ff9ec
Merge remote-tracking branch 'upstream/main' into abstract-BaseAiHandler
2023-12-09 16:47:13 +00:00
f2abe5c73e
Abstract AiHandler to BaseAiHandler
2023-12-09 16:39:25 +00:00
7e47baa9db
Refactor AI handler classes
2023-12-10 00:25:25 +08:00
f908d02ab4
readme
2023-12-07 15:26:36 +02:00
7d2a35e32c
final commit
2023-12-07 10:27:19 +02:00
e351428848
s
2023-12-07 10:24:36 +02:00
4cd6649a44
feat: Enhance PR description formatting in pr_description.py
...
Improve the table structure for relevant files in PR description by adjusting the header and filename display. Add padding for filename and change summary, and move diff_plus_minus to a separate column. Refactor _insert_br_after_x_chars function to accept a variable length parameter.
2023-12-07 10:14:18 +02:00
e62acef6d2
s1
2023-12-07 09:50:36 +02:00
a61e492fe1
feat: Refactor PR files processing into separate function in pr_description.py
2023-12-06 17:01:21 +02:00
429aed04b1
s
2023-12-06 16:32:53 +02:00
eeb20b055a
feat: Add line count to file patch info and enhance PR description formatting
2023-12-06 15:29:45 +02:00
4b073b32a5
feat: Enhance PR description with file label dictionary and update prompts in pr_description_prompts.toml
2023-12-06 12:30:51 +02:00
862c236076
s
2023-12-05 18:10:13 +02:00
863eb0105d
feat: Refactor semantic labels in PR description and improve clarity in pr_description.py and pr_description_prompts.toml
2023-12-04 21:23:59 +02:00
21a7a0f136
feat: Enhance link generation for relevant lines and refactor code in git providers and PR description tools
2023-12-04 21:06:56 +02:00
d2a129fe30
Add labeling files
2023-12-04 18:22:35 +02:00
586785ffde
feat: Add pr_url attribute to git providers and final update message in PR description
2023-12-03 10:46:02 +02:00
3af9c3bfb9
feat: Enhance code suggestion publishing with language-specific formatting in pr_code_suggestions.py
2023-12-01 12:12:49 +02:00
ea56910a2f
Merge pull request #485 from Codium-ai/tr/bitbucket
...
Enhancement of Inline Comment Publishing in Bitbucket Provider and Logging Addition
2023-11-28 08:35:40 -08:00
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
7e029ead45
refactor: Improve label handling in pr_reviewer.py
2023-11-28 17:03:55 +02:00
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
20978402ea
s
2023-11-26 16:56:06 +02:00
8f615e17a3
s
2023-11-26 16:42:41 +02:00
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
f96d4924e7
feat: Add line link generation in git providers and refactor code suggestions generation
2023-11-26 11:57:45 +02:00
f36b672eaa
feat: Add option to summarize code suggestions in pr_code_suggestions.py
2023-11-26 11:22:14 +02:00
8db2e3b2a0
feat: Enhance readability in toml files and add verbosity level logging in pr_generate_labels.py
2023-11-26 08:42:04 +02:00