ea39e8684f
works
2024-01-15 16:42:50 +02:00
afefc15b9c
improve doce suggestions UI with difflib
2024-01-15 15:56:48 +02:00
5e17ccaf86
add colaplsable
2024-01-15 15:17:57 +02:00
9b1eb86d75
first iteration of improved UI for /improve --extended
2024-01-15 15:10:54 +02:00
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
abc05e7711
ask helper
2024-01-09 16:25:23 +02:00
46a38473e4
Merge remote-tracking branch 'origin/main' into tr/unique_titles
2024-01-08 10:30:58 +02:00
c9e55be275
s
2024-01-08 10:30:47 +02:00
9c054bb80f
s
2024-01-08 09:18:46 +02:00
78fa61eac6
Merge branch 'main' into tr/user_description
2024-01-07 22:55:18 -08:00
3ea08a6cf5
feat: Add debug logs to git_provider and pr_description modules
2024-01-07 19:57:49 +02:00
3154ebbf9f
feat: Add debug logs to git_provider and pr_description modules
2024-01-07 19:56:05 +02:00
578d15c6fc
usage guide
2024-01-07 16:38:08 +02:00
edcb666fbc
docs: Reorganize and enhance documentation for review and describe tools
2024-01-07 09:28:06 +02:00
355ef8c476
feat: Update adaptive collapsible file list logic in pr_description.py
2024-01-06 10:36:36 +02:00
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
c2b0891c0b
Simpler auto-extended toggle and keep the default as false
2024-01-04 18:53:45 +02:00
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
7762bf59bf
feat: Update user description extraction and placement in PR description
2024-01-04 18:01:55 +02:00
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
c3b5aaf8cc
feat: Update user description extraction and placement in PR description
2024-01-04 17:46:24 +02:00
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
ed78bfd946
use_collapsible_file_list
2024-01-04 10:27:07 +02:00
4204d78d7e
feat: Remove file walkthrough feature from PR agent
2024-01-04 09:59:44 +02:00
3c2ed8bbf1
feat: Remove file walkthrough feature from PR agent
2024-01-04 09:42:15 +02:00
2f9fbbf0ac
Prevent reducing the number of suggestions if already low enough
2024-01-03 16:43:39 +02:00
0189e12fb1
Automatically enable improve extended mode for large PRs
2024-01-03 16:43:38 +02:00
37b040b50a
Use 'and' in lieu of '&' operator
2023-12-27 10:17:08 +07:00
31168cd7de
Get PR review enable help text from setting
2023-12-27 10:12:41 +07:00
a6764c9058
feat: Update help text addition condition in pr_reviewer.py
2023-12-26 09:25:15 +02:00
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
1d435ef3fa
removed comments
2023-12-25 00:45:24 +05:30
1632696c2f
Merge branch 'main' of github.com:PrashantDixit0/pr-agent
2023-12-25 00:41:28 +05:30
d8d954bb0f
lancedb integration
2023-12-25 00:38:24 +05:30
e698c7e2f3
Merge pull request #546 from Codium-ai/tr/backticks_review
...
Single-label for suggestions
2023-12-24 03:35:49 -08:00
5fd3fdfae1
feat: Add loop to populate suggestion_list in pr_code_suggestions.py
2023-12-24 10:08:36 +02:00
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
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