Commit Graph

445 Commits

Author SHA1 Message Date
2d5b060168 patch_extension_skip_types 2024-08-20 11:33:56 +03:00
b7eb6be5a0 Update PR code suggestions and reviewer prompts for clarity and consistency 2024-08-20 11:27:35 +03:00
df57367426 Update configuration.toml to modify fallback models and add skip types for patch extension logic 2024-08-20 11:24:52 +03:00
fc40ca9196 Refactor dynamic context handling in git patch processing and update configuration default 2024-08-19 08:38:26 +03:00
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
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
23aa2a9388 Refactor patch extension logic to handle cases with zero extra lines 2024-08-11 13:59:27 +03:00
9c3f080112 comments 2024-08-11 12:15:47 +03:00
983233c193 Clarify comments for patch_extra_lines_before and patch_extra_lines_after in configuration.toml 2024-08-11 11:48:50 +03:00
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
61bdfd3b99 patch_extra_lines_before and patch_extra_lines_after 2024-08-10 21:55:51 +03:00
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
ee1676cf7e patch improvements 2024-08-03 12:49:58 +03:00
3420e6f30d patch improvements 2024-08-03 12:44:49 +03:00
0fa342ddd2 pr_description.final_update_message=false 2024-08-01 09:51:35 +03:00
0390a85f5a Add missing bitbucket_server.pr_commands default 2024-07-30 09:45:45 -04:00
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
a176adb23e Remove redundant spaces 2024-07-27 22:21:54 +07:00
68ef11a2fc Fix invalid token name 2024-07-27 22:17:48 +07:00
778d7ce1ed config 2024-07-27 17:54:36 +03:00
3067afbcb3 Update seed handling: log fixed seed usage; adjust default seed and temperature in config 2024-07-27 17:50:59 +03:00
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
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
41c6502190 docs: Supports litellm's Amazon Bedrock parameter syntax change 2024-07-23 16:25:26 +09:00
003846a90d fixed broken output format(yaml) prompt 2024-07-19 16:02:01 +09:00
174b4b76eb Fix pr_files data type 2024-07-15 12:28:53 +07:00
5d6e1de157 review with links 2024-07-14 08:53:53 +03:00
b51abe9af7 Use full file path instead of complete file path 2024-07-14 12:01:33 +07:00
20206af1bf Optimize relevant file and language description for pr code suggestion prompt 2024-07-14 10:03:44 +07:00
34ae1f1ab6 Optimize relevant file and language description for pr description prompt 2024-07-14 10:03:31 +07:00
887283632b Optimize relevant file and language description for review prompt 2024-07-14 10:03:19 +07:00
7f84b5738e Optimize relevant file description for add docs prompt 2024-07-14 10:02:00 +07:00
d0948329d3 Fix typo in PRDescription class 2024-07-10 14:37:52 +07:00
f76f750757 best_practices 2024-07-09 07:49:30 +03:00
f3c80891f8 sonnet-3.5 2024-07-04 12:23:36 +03:00
0c3940b6a7 persistent release notes 2024-07-03 16:38:13 +03:00
040503039e prompt 2024-07-03 08:37:04 +03:00
92d040c80f Merge remote-tracking branch 'origin/main' into tr/review_redesign 2024-07-03 07:54:26 +03:00
3e6263e1cc async calls 2024-06-30 17:33:48 +03:00
ebbf9c25b3 review_v2 2024-06-29 21:42:12 +03:00
11abce3ede s 2024-06-27 08:36:40 +03:00
a57896aa94 s 2024-06-26 21:05:00 +03:00
73f0eebb69 s 2024-06-26 20:44:30 +03:00
0f920bcc5b s 2024-06-26 20:11:20 +03:00
666fcb6264 fix: update prompt key from suggestion_content to suggestion_summary in code suggestions 2024-06-23 11:33:33 +03:00
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
5968db67b9 Merge remote-tracking branch 'origin/main' 2024-06-19 08:30:55 +03:00
3affe011fe Update Bitbucket app commands to include suggestions score threshold in documentation and configuration 2024-06-19 08:30:45 +03:00