mrT23
8a768aa7fd
Lower log level for missing code suggestions from error to warning
2024-08-12 18:41:24 +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
e531245f4a
protections
2024-08-09 21:15:29 +03:00
mrT23
89e9413d75
logger message
2024-08-09 20:21:00 +03:00
mrT23
8a75d3101d
Enhance PR description handling and improve logging for invalid file extensions in Bitbucket provider
2024-08-07 16:32:36 +03:00
mrT23
cb10ceadd7
Escape HTML tags in suggestion summaries in pr_code_suggestions.py and update pr_code_suggestions_prompts.toml for backtick usage
2024-08-06 12:16:58 +03:00
mrT23
c2c69f2950
No code suggestions found for PR.
2024-07-28 09:32:54 +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
mrT23
5d6e1de157
review with links
2024-07-14 08:53:53 +03:00
mrT23
034ec8f53a
provider
2024-07-11 18:37:37 +03:00
mrT23
4b351cfe38
AzureDevopsProvider
2024-07-11 18:24:40 +03:00
mrT23
734a027702
azure fix
2024-07-11 18:21:21 +03:00
mrT23
f76f750757
best_practices
2024-07-09 07:49:30 +03:00
mrT23
5b594dadee
pr_types rstrip
2024-07-07 08:08:53 +03:00
mrT23
be18152446
refresh
2024-07-05 17:11:13 +03:00
mrT23
7fc41409d4
refresh
2024-07-05 16:51:35 +03:00
mrT23
f3c80891f8
sonnet-3.5
2024-07-04 12:23:36 +03:00
Tal
1f5c3a4c0f
Merge pull request #1020 from Codium-ai/tr/fallbacks
...
Tr/fallbacks
2024-07-04 12:12:39 +03:00
mrT23
e30c70d2ca
keys fallback
2024-07-03 20:29:17 +03:00
Hussam.lawen
23e6abcdce
new line
2024-07-03 17:09:50 +03:00
mrT23
0bac03496a
keys fallback
2024-07-03 17:06:27 +03:00
Hussam.lawen
a228ea8109
fix capitalize
2024-07-03 17:04:01 +03:00
Hussam.lawen
0c3940b6a7
persistent release notes
2024-07-03 16:38:13 +03:00
mrT23
3e265682a7
extend additional files
2024-07-03 08:32:37 +03:00
mrT23
92d040c80f
Merge remote-tracking branch 'origin/main' into tr/review_redesign
2024-07-03 07:54:26 +03:00
mrT23
f2cb70ea67
extend additional files
2024-06-30 18:38:06 +03:00
mrT23
3e6263e1cc
async calls
2024-06-30 17:33:48 +03:00
mrT23
df02cc1437
Merge remote-tracking branch 'origin/main' into tr/review_redesign
...
# Conflicts:
# pr_agent/tools/pr_reviewer.py
2024-06-29 21:55:49 +03:00
Tal
6a5f43f8ce
Merge pull request #1005 from KennyDizi/main
...
Centralize PR Review Title Definition
2024-06-29 21:53:20 +03:00
mrT23
defe200817
review_v2
2024-06-29 13:08:34 +03:00
mrT23
4c444f5c9a
fixes
2024-06-28 08:09:52 +03:00
mrT23
e5aae0d14f
fixes
2024-06-28 08:04:35 +03:00
mrT23
15f854336a
s
2024-06-27 09:07:19 +03:00
KennyDizi
406dcd7b7b
Improve code readability by adding a newline after enum definitions
2024-06-27 07:16:54 +07:00
KennyDizi
692904bb71
Use ReviewHeaderTitle in lieu of PrReviewTitle
2024-06-27 07:11:57 +07:00
KennyDizi
ba963149ac
Fix extract PrReviewTitle member value
2024-06-27 07:10:57 +07:00
KennyDizi
7348d4144b
Rename PrReviewTitle enum
2024-06-27 07:05:03 +07:00
KennyDizi
41607b10ef
Apply PrReviewTitles enum for pr review file
2024-06-27 07:03:43 +07:00
mrT23
b1d07be728
s
2024-06-26 20:33:45 +03:00
mrT23
0f920bcc5b
s
2024-06-26 20:11:20 +03:00
mrT23
74bb07e9c4
fix: correct indentation in PR description preparation logic
2024-06-23 21:17:34 +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
164999d83d
Add context-aware git provider retrieval and refactor related functions
2024-06-19 09:46:48 +03:00
mrT23
025a14014a
Add context-aware git provider retrieval and refactor related functions
2024-06-19 09:36:37 +03:00
mrT23
bc09330a44
Add self-review checkbox functionality to improve tool and update documentation
2024-06-17 20:26:09 +03:00
Tal
8d44804f84
Merge pull request #975 from brianteeman/identify_image_in_comment
...
identify_image_in_comment
2024-06-17 08:41:35 +03:00
BrianTeeman
8463aaac0a
get_changlog_file
...
Correct the spelling
Fix spelling errors now will prevent issues going forward where people have to misspell something on purpose
2024-06-16 17:35:52 +01:00
BrianTeeman
195f8a03ab
identify_image_in_comment
...
Correct the spelling
Fix spelling errors now will prevent issues going forward where people have to misspell something on purpose
2024-06-16 17:33:23 +01: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
mrT23
25fdf16894
Update PR help message links to new documentation URLs
2024-06-07 08:12:06 +03:00
mrT23
4d96d11ba5
enterprise
2024-06-04 20:15:22 +03:00
Kamakura
b980168e75
Update pr_description.py
2024-06-04 11:19:18 +08:00
Kamakura
b4f0ad948f
Update Python code formatting, configuration loading, and local model additions
...
1. Code Formatting:
- Standardized Python code formatting across multiple files to align with PEP 8 guidelines. This includes adjustments to whitespace, line breaks, and inline comments.
2. Configuration Loader Enhancements:
- Enhanced the `get_settings` function in `config_loader.py` to provide more robust handling of settings retrieval. Added detailed documentation to improve code maintainability and clarity.
3. Model Addition in __init__.py:
- Added a new model "ollama/llama3" with a token limit to the MAX_TOKENS dictionary in `__init__.py` to support new AI capabilities and configurations.
2024-06-03 23:58:31 +08: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
46e934772c
Rename "Custom Suggestions" feature to "Custom Prompt" across documentation, README, and tool references
2024-05-16 21:55:02 +03:00
mrT23
cc08394e51
Refine field descriptions in pr_code_suggestions_prompts.toml and comment out default scoring error log in pr_code_suggestions.py
2024-05-16 21:49:06 +03:00
mrT23
f3eb74d718
Refactor pr_code_suggestions logic and update prompts for clarity and consistency
2024-05-13 18:18:17 +03:00
mrT23
b0aac4ec5d
Refactor pr_code_suggestions logic and update prompts for clarity and consistency
2024-05-13 18:13:37 +03:00
mrT23
95c7b3f55c
Refactor pr_code_suggestions logic and update prompts for clarity and consistency
2024-05-13 18:03:13 +03:00
mrT23
fbacc7c765
artifact
2024-05-13 09:19:08 +03:00
mrT23
61ba015a55
artifact
2024-05-12 16:22:40 +03:00
mrT23
4f6490b17c
Integrate self-reflection feature in PR-Agent, enhancing code suggestions with scoring and sorting, and update documentation accordingly
2024-05-12 16:17:47 +03:00
mrT23
d348cffbae
Enhance error handling and logging in pr_code_suggestions with default scores and contextualized self_reflection
2024-05-12 15:52:59 +03:00
mrT23
c04ab933cd
s
2024-05-12 15:04:36 +03:00
mrT23
a55fa753b9
s
2024-05-12 14:54:35 +03:00
mrT23
8e0435d9a0
s
2024-05-12 14:40:25 +03:00
mrT23
39c0733d6f
s
2024-05-12 14:00:30 +03:00
mrT23
a588e9f2bb
s
2024-05-12 13:55:12 +03:00
mrT23
1ebc20b761
self_reflect
2024-05-12 13:49:28 +03:00
mrT23
097637d7c0
toolbar emojis in pr-agent feedbacks
2024-05-05 13:48:45 +03:00
mrT23
34ad5f2aa2
toolbar emojis in pr-agent feedbacks
2024-05-05 13:33:54 +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
44eb0b4f23
ask
2024-04-14 14:12:48 +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
97dcb34d77
clean: rename to github_action_output
2024-04-10 22:16:09 +09:00
idubnori
75c4befadf
feat: set review data to github actions output
2024-04-10 01:02:05 +09:00
mrT23
84d8f78d0c
publish_output
2024-04-08 14:00:41 +03:00
mrT23
d6b037a63a
readme
2024-04-07 11:51:06 +03:00
mrT23
3ebb72e3f1
feat: add persistent comment option for PR descriptions
2024-04-02 17:52:34 +03:00
mrT23
c3b3651769
refine help
2024-03-31 11:43:00 +03:00
mrT23
79bdb9a69f
bugfix: validate output publishing with progress condition in pr_code_suggestions
2024-03-27 19:56:27 +02:00
mrT23
9a46690121
adjustments to pypi
2024-03-23 09:55:08 +02:00
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