Commit graph

80 commits

Author SHA1 Message Date
mrT23
968fb71577
refactor: update terminology for issue review recommendations in utils.py 2024-09-30 13:03:42 +03:00
mrT23
4a60046f7c
update tests 2024-09-29 07:28:02 +03:00
mrT23
cc0e432247
refactor logic 2024-09-13 22:17:24 +03:00
mrT23
e444da8378
fix: improve Azure DevOps PR URL parsing and add unit tests 2024-09-10 08:19:22 +03:00
mrT23
8706f643ef
enable ai_metadata 2024-09-08 16:26:26 +03:00
Tal
d4d9a7f8b4
Merge pull request #1172 from MaxHoecker/bugfix/bb-2-way-diff-fix
Bugfix/bb 2 way diff fix
2024-09-03 16:24:42 +03:00
mhoecke1
29c50758bc implementing more feedback, choosing a different Bitbucket diff strategy depending on API version, and expanded unit test cases 2024-08-28 17:13:36 -04:00
mrT23
d1d861e163
update tests 2024-08-25 12:11:16 +03:00
mrT23
033db1015e
update tests 2024-08-25 12:08:02 +03:00
mhoecke1
a99ebf8953 implementing PR bot feedback 2024-08-23 11:18:42 -04:00
mhoecke1
2beefab89a BB server 2 way diff fixes 2024-08-23 10:47:27 -04:00
mrT23
8fd8d298e7
Add unit tests for dynamic context handling in extend_patch function 2024-08-19 10:33:47 +03:00
mrT23
f9afada1ed
tests 2024-08-11 19:01:42 +03:00
mrT23
df04a7e046
Add spaces to extra lines in patch extension for consistency 2024-08-11 12:32:26 +03:00
mrT23
ed65493718
Handle edge cases for patch extension and update tests 2024-08-11 12:08:00 +03:00
mrT23
2b2b851cb9
Update test class name and adjust patch extra lines configuration
- Renamed test class to `TestExtendedPatchMoreLines` in `test_extend_patch.py`
- Imported `pr_generate_extended_diff` in `test_extend_patch.py`
- Updated `patch_extra_lines_before` to 4 in `additional_configurations.md`
2024-08-11 11:29:31 +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
e34bcace29
s 2024-08-02 21:51:54 +03:00
Tal
2a675b80ca
Update test_convert_to_markdown.py 2024-08-02 21:43:11 +03:00
mrT23
0bac03496a
keys fallback 2024-07-03 17:06:27 +03:00
mrT23
57abf4ac62
tests 2024-07-03 08:47:59 +03:00
KennyDizi
382da3a5b6 Use descriptive name for the ReviewHeaderTitle enum to reflect its specific purpose related to PR headers 2024-06-27 07:17:26 +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
d0315164be Apply PrReviewTitles enum for test file 2024-06-27 07:04:02 +07:00
mrT23
1070f9583f
Add file ignore functionality and update documentation for ignore patterns 2024-06-13 13:07:24 +03: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
6e6f54933e
Add large_patch_policy configuration and implement patch clipping logic 2024-05-29 14:00:04 +03:00
mrT23
e4157d2efc
toolbar emojis in pr-agent feedbacks 2024-05-05 13:36:34 +03:00
mrT23
34ad5f2aa2
toolbar emojis in pr-agent feedbacks 2024-05-05 13:33:54 +03:00
idubnori
9e4ffd824c
Merge branch 'main' into feature/gha-outputs-1 2024-04-10 23:27:44 +09:00
idubnori
5e5ead98de test: rename & add error case 2024-04-10 22:36:15 +09:00
idubnori
97dcb34d77 clean: rename to github_action_output 2024-04-10 22:16:09 +09:00
idubnori
45176ab893 test: add config not set case 2024-04-10 09:17:29 +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
a5a68c2a73
readme 2024-04-07 17:02:37 +03:00
mrT23
7d081aa1d1
fix tests 2024-03-01 13:09:47 +02:00
mrT23
85cdf05ca8
review formatting 2024-02-26 09:36:16 +02:00
mrT23
345f923569
bitbucket code suggestions 2024-02-19 19:52:49 +02:00
mrT23
01fbebfc5e
relevant tests 2024-02-09 12:50:51 +02:00
Hussam.lawen
5af9e8e749
fix 2024-02-08 23:53:29 +02:00
Hussam.lawen
24c575737c
fix2 2024-02-08 23:05:56 +02:00
Hussam.lawen
4175e8c467
fix test2 2024-02-08 20:49:42 +02:00
Hussam.lawen
77e7463395
fix tests 2024-02-08 20:14:25 +02:00
mrT23
fa077dc516
formatting 2024-02-08 18:55:58 +02:00
mrT23
c1c7b3b6da
fixed code 2024-02-05 13:00:57 +02:00
mrT23
32e8ba331a
insert_br_after_x_chars 2024-02-05 10:12:47 +02:00
mrT23
3f2a7869dd
insert_br_after_x_chars 2024-02-05 09:22:26 +02:00