Commit graph

496 commits

Author SHA1 Message Date
mrT23
b7eb6be5a0
Update PR code suggestions and reviewer prompts for clarity and consistency 2024-08-20 11:27:35 +03:00
mrT23
df57367426
Update configuration.toml to modify fallback models and add skip types for patch extension logic 2024-08-20 11:24:52 +03:00
MarkRx
8aa76a0ac5 Add and document abilty to use LiteLLM Logging Observability tools 2024-08-19 15:45:47 -04:00
mrT23
fc40ca9196
Refactor dynamic context handling in git patch processing and update configuration default 2024-08-19 08:38:26 +03:00
mrT23
e9535ea164
Add dynamic context handling in git patch processing
- Introduce `allow_dynamic_context` and `max_extra_lines_before_dynamic_context` settings.
- Adjust context limits dynamically based on section headers.
- Add logging for dynamic context adjustments and section header findings.
2024-08-18 17:45:18 +03:00
mrT23
c76aabc71e
Add callback functionality to litellm_ai_handler for enhanced logging and metadata capture 2024-08-17 09:15:05 +03:00
mrT23
3456c8e039
Add 'original_suggestion' parameter to publish_inline_comment methods across git providers for enhanced inline comment handling 2024-08-16 08:58:51 +03:00
mrT23
23aa2a9388
Refactor patch extension logic to handle cases with zero extra lines 2024-08-11 13:59:27 +03:00
mrT23
9c3f080112
comments 2024-08-11 12:15:47 +03:00
mrT23
983233c193
Clarify comments for patch_extra_lines_before and patch_extra_lines_after in configuration.toml 2024-08-11 11:48:50 +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
61bdfd3b99
patch_extra_lines_before and patch_extra_lines_after 2024-08-10 21:55:51 +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
ee1676cf7e
patch improvements 2024-08-03 12:49:58 +03:00
mrT23
3420e6f30d
patch improvements 2024-08-03 12:44:49 +03:00
mrT23
0fa342ddd2
pr_description.final_update_message=false 2024-08-01 09:51:35 +03:00
MarkRx
0390a85f5a Add missing bitbucket_server.pr_commands default 2024-07-30 09:45:45 -04:00
mrT23
86d9612882
docs: update usage guide for changing models; add custom model support and reorganize sections 2024-07-28 08:55:01 +03:00
Tal
11f85cad62
Merge pull request #1064 from KennyDizi/main
Fix Bitbucket token name and clean up secrets template
2024-07-28 08:29:17 +03:00
KennyDizi
a176adb23e Remove redundant spaces 2024-07-27 22:21:54 +07:00
KennyDizi
68ef11a2fc Fix invalid token name 2024-07-27 22:17:48 +07:00
mrT23
778d7ce1ed
config 2024-07-27 17:54:36 +03:00
mrT23
3067afbcb3
Update seed handling: log fixed seed usage; adjust default seed and temperature in config 2024-07-27 17:50:59 +03:00
mrT23
70f7a90226
Add E2E tests workflow for GitHub, GitLab, and Bitbucket; update configuration settings and build-and-test workflow 2024-07-27 17:26:24 +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
Tal
aaf037570b
Update configuration.toml
remove dead codde
2024-07-24 19:56:50 +03:00
shnskfjwr
41c6502190 docs: Supports litellm's Amazon Bedrock parameter syntax change 2024-07-23 16:25:26 +09:00
woung717
003846a90d
fixed broken output format(yaml) prompt 2024-07-19 16:02:01 +09:00
Kenny Dizi
174b4b76eb Fix pr_files data type 2024-07-15 12:28:53 +07:00
mrT23
5d6e1de157
review with links 2024-07-14 08:53:53 +03:00
KennyDizi
b51abe9af7 Use full file path instead of complete file path 2024-07-14 12:01:33 +07:00
KennyDizi
20206af1bf Optimize relevant file and language description for pr code suggestion prompt 2024-07-14 10:03:44 +07:00
KennyDizi
34ae1f1ab6 Optimize relevant file and language description for pr description prompt 2024-07-14 10:03:31 +07:00
KennyDizi
887283632b Optimize relevant file and language description for review prompt 2024-07-14 10:03:19 +07:00
KennyDizi
7f84b5738e Optimize relevant file description for add docs prompt 2024-07-14 10:02:00 +07:00
Kenny Dizi
d0948329d3 Fix typo in PRDescription class 2024-07-10 14:37:52 +07:00
mrT23
f76f750757
best_practices 2024-07-09 07:49:30 +03:00
mrT23
f3c80891f8
sonnet-3.5 2024-07-04 12:23:36 +03:00
Hussam.lawen
0c3940b6a7
persistent release notes 2024-07-03 16:38:13 +03:00
mrT23
040503039e
prompt 2024-07-03 08:37:04 +03:00
mrT23
92d040c80f
Merge remote-tracking branch 'origin/main' into tr/review_redesign 2024-07-03 07:54:26 +03:00
mrT23
3e6263e1cc
async calls 2024-06-30 17:33:48 +03:00
mrT23
ebbf9c25b3
review_v2 2024-06-29 21:42:12 +03:00
mrT23
11abce3ede
s 2024-06-27 08:36:40 +03:00
mrT23
a57896aa94
s 2024-06-26 21:05:00 +03:00
mrT23
73f0eebb69
s 2024-06-26 20:44:30 +03:00
mrT23
0f920bcc5b
s 2024-06-26 20:11:20 +03:00
mrT23
666fcb6264
fix: update prompt key from suggestion_content to suggestion_summary in code suggestions 2024-06-23 11:33:33 +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
5968db67b9
Merge remote-tracking branch 'origin/main' 2024-06-19 08:30:55 +03:00
mrT23
3affe011fe
Update Bitbucket app commands to include suggestions score threshold in documentation and configuration 2024-06-19 08:30:45 +03:00
Tal
deda06866d
Merge pull request #971 from brianteeman/typos-1
Fix typos/Spelling
2024-06-18 18:00:42 +03:00
mrT23
bc09330a44
Add self-review checkbox functionality to improve tool and update documentation 2024-06-17 20:26:09 +03:00
Brian Teeman
7bd1e5211c
Update pr_agent/settings/pr_reviewer_prompts.toml
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
2024-06-17 09:22:38 +01:00
BrianTeeman
a9a27b5a8f
Fix typos/Spelling
This simple PR fixes typos and spelling errors in code comments and documentation. It has no functional changes but does at least make the instruction more readable and match the code.
2024-06-16 17:06:30 +01:00
mrT23
925fab474c
key_issues_to_review 2024-06-15 19:58:09 +03:00
mrT23
e367df352b
Add file ignore functionality and update documentation for ignore patterns 2024-06-13 11:41:13 +03:00
mrT23
55b52ad6b2
Add exception handling to process_can_be_split function and update pr_reviewer_prompts.toml formatting 2024-06-13 09:28:51 +03:00
mrT23
1106dccc4f
Update PR review prompts and terminology for clarity and consistency 2024-06-09 14:34:51 +03:00
mrT23
9c8bc6c86a
Update PR review prompts and terminology for clarity and consistency 2024-06-09 14:29:32 +03:00
Tal
12b0df4608
committable checbox (#951)
* Add "apply suggestions" feature to README, improve.md, and configuration.toml
2024-06-06 18:04:40 +03:00
mrT23
d046c2a939
gitlab push_commands will work 2024-06-05 11:25:10 +03:00
mrT23
4d96d11ba5
enterprise 2024-06-04 20:15:22 +03:00
mrT23
8e12787fc8
Clear secret provider configuration in configuration.toml 2024-06-04 16:42:54 +03:00
mrT23
213ced7e18
Add PR evaluation prompt and link to fine-tuning benchmark documentation 2024-06-04 16:37:35 +03:00
mrT23
09190efb65
Add PR evaluation prompt and link to fine-tuning benchmark documentation 2024-06-03 11:35:39 +03:00
mrT23
17f46bb53b
Add large_patch_policy configuration and implement patch clipping logic 2024-05-29 13:42:44 +03:00
mrT23
83ff9a0b9b
final_update_message 2024-05-22 21:49:33 +03:00
mrT23
4cd9626217
grammar 2024-05-22 21:47:49 +03:00
mrT23
71770f3c04
Update default setting of final_update_message to false in describe.md and configuration.toml 2024-05-20 14:25:51 +03: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
Tal
f9af9e4a91
Update pr_code_suggestions_prompts.toml 2024-05-16 21:59:00 +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
4231a84e7a
Refactor Azure DevOps provider to use PR iterations for change detection, improving accuracy of diff file identification 2024-05-15 09:15:12 +03:00
mrT23
e56320540b
Refactor Azure DevOps provider to use PR iterations for change detection, improving accuracy of diff file identification 2024-05-15 09:05:01 +03:00
mrT23
05876afc02
Refactor pr_code_suggestions logic and update prompts for clarity and consistency 2024-05-13 18:21:31 +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
a55fa753b9
s 2024-05-12 14:54:35 +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
34ad5f2aa2
toolbar emojis in pr-agent feedbacks 2024-05-05 13:33:54 +03:00
Randy, Huang
d457fa2b9f Add Groq API key configuration to .secrets_template.toml 2024-04-21 15:22:40 +09:00
mrT23
7563af08a0
docs 2024-04-18 08:44:08 +03:00
mrT23
ad96326832
not 2024-04-18 07:53:37 +03:00
mrT23
8242b10d8e
Replace summarize_mode with commitable_code_suggestions_mode in pr_code_suggestions_prompts.toml to enhance PR suggestion mechanism 2024-04-18 07:31:33 +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
f0230fce79
gpt-4-turbo-2024-04-09 2024-04-14 12:37:54 +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
75c4befadf feat: set review data to github actions output 2024-04-10 01:02:05 +09:00
mrT23
3ebb72e3f1
feat: add persistent comment option for PR descriptions 2024-04-02 17:52:34 +03:00
mrT23
8bda365636
docs: Add "Improve Component" tool documentation and update related guides 2024-03-31 12:13:25 +03:00
mrT23
903d74b2f7
ignore_bot_pr = true 2024-03-25 11:42:24 +02:00
Tal
b4b2c7c620
Merge pull request #800 from koid/feature/ignore-bot-pr-on-github-app
Added `ignore_bot_pr` option
2024-03-21 18:42:45 +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
koid
80a793a257 ignore bot pr option on github app mode 2024-03-18 16:14:54 +09:00
Tal
dd83b196b4
Merge pull request #781 from koid/feature/support-bedrock-claude3
added support for bedrock/claude3
2024-03-18 08:03:29 +02:00