Commit graph

571 commits

Author SHA1 Message Date
mrT23
ded7d96649
DocHelper 2024-09-22 09:23:34 +03:00
mrT23
0198c61cf7
update docs 2024-09-22 09:00:56 +03:00
mrT23
be8052251a
Update pr_help_prompts.toml and fix snippet indexing in pr_help_message.py 2024-09-22 08:13:23 +03:00
mrT23
a70fe27d94
prompts 2024-09-21 16:58:37 +03:00
mrT23
4b74506107
Add PR help message functionality and update dependencies
- Implement PRHelpMessage class to provide AI-powered assistance for pull requests.
- Add methods for similarity search using local, S3, and Pinecone databases.
- Update `requirements.txt` to include new dependencies for langchain and chromadb.
- Modify `configuration.toml` to include `force_local_db` setting for PR help.
- Update `aiohttp` and `openai` package versions.
2024-09-21 16:22:51 +03:00
Tal
80fe297bc9
Merge pull request #1231 from matanbaruch/main
Update PR Action Handling Logic in GitHub Action Runner
2024-09-15 15:30:34 +03:00
mrT23
fdb1ff8057
update best practics 2024-09-15 12:36:00 +03:00
Matan Baruch
0851767774
Update configuration.toml 2024-09-15 09:35:58 +03:00
mrT23
a8367d1a22
docs: add dynamic context strategy documentation and update configuration settings
- Added detailed documentation on the dynamic context strategy in `dynamic_context.md`.
- Updated configuration settings in `configuration.toml` to enable dynamic context by default.
- Adjusted context line parameters in `additional_configurations.md` to reflect new defaults.
- Announced dynamic context as the default option in the `README.md` news section.
2024-09-12 11:37:52 +03:00
mrT23
01ba6fe63d
feat: enhance error handling and logging, update AI metadata terminology
- Improved error handling and logging in `pr_processing.py` and `github_polling.py` to provide more detailed error information.
- Updated AI metadata terminology from "AI-generated file summary" to "AI-generated changes summary" across multiple files for consistency.
- Added a placeholder method `publish_file_comments` in `azuredevops_provider.py`.
- Refined logging messages in `azuredevops_provider.py` for better clarity.
2024-09-10 17:44:26 +03:00
mrT23
c8e8ed89d2
feat: integrate Dynaconf for configuration management and enhance config display 2024-09-09 08:31:20 +03:00
mrT23
8706f643ef
enable ai_metadata 2024-09-08 16:26:26 +03:00
mrT23
d01cfe443c
avoid_full_files 2024-09-07 11:44:24 +03:00
mrT23
147a8e0ef3
refactor: consolidate PR ignore logic into a single function and update documentation 2024-09-07 11:26:13 +03:00
Tal
9199d84796
Merge pull request #1192 from paolomainardi/feature/1190_exclude_branches_tags
feat: gitlab skip source, target and labels
2024-09-07 10:20:31 +03:00
Paolo Mainardi
39913ef12a
fix: remove specific configurations 2024-09-06 20:23:33 +02:00
Paolo Mainardi
14b4723734
feat: move configuration to a common config section, add documentation 2024-09-06 18:32:46 +02:00
proDOOMman
be75bb6a16
Add 1C Enterprise language 2024-09-04 09:04:39 +03:00
Paolo Mainardi
adce35765b
feat: implement skip branches for github, add ignore title to gitlab 2024-09-02 16:26:50 +02:00
Paolo Mainardi
fdcbdfce98
feat: gitlab skip source, target and labels 2024-08-30 16:40:23 +02:00
mrT23
abf2f68c61
fix: update description for pr_files field in PRDescription class in pr_description_prompts.toml 2024-08-25 12:02:14 +03:00
mrT23
415f44d763
type 2024-08-23 11:27:50 +03:00
mrT23
8fb9b8ed3e
Update PR code suggestions prompts to avoid repeating changes already present in the PR 2024-08-23 11:22:55 +03:00
Tal
745e955d1f
Merge pull request #1145 from MarkRx/feature/litellm-logging-observability
Add and document abilty to use LiteLLM Logging Observability tools
2024-08-22 09:58:53 +03:00
mrT23
2d5b060168
patch_extension_skip_types 2024-08-20 11:33:56 +03:00
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
mrT23
6d39773a17
prompt 2024-03-17 09:44:50 +02:00
koid
1ed2cd064a add config litellm.drop_params 2024-03-13 11:20:02 +09:00
mrT23
4810b8549b
docs 2024-03-10 16:59:37 +02:00
mrT23
8324e9a38d
can_be_split 2024-03-10 16:56:32 +02:00
mrT23
bb341a6568
Fix missing colons in class definitions in pr_reviewer_prompts.toml 2024-03-10 07:39:10 +02:00
mrT23
2f6f1d5879
Add command execution functionality to Bitbucket app and update configuration settings 2024-03-06 07:53:13 +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
da39149c61
Add unique_strings function and remove duplicate issues in utils.py; Update pr_reviewer_prompts.toml template 2024-03-04 11:07:39 +02:00
mrT23
eed23a7aaa
Add truncation and summarization features to PR code suggestions 2024-03-04 08:16:05 +02:00
mrT23
248c6b13be
Update suggestion content in pr_code_suggestions_prompts.toml 2024-03-04 07:56:44 +02:00
Tal
0709d5f663
Merge pull request #730 from Codium-ai/tr/issue_header
Enhance markdown formatting fo issues
2024-03-03 04:06:04 -08:00
mrT23
c372c71514
prompt 2024-03-03 14:04:09 +02:00
mrT23
f1bd67b7e9
Remove functionality and references to 'remove_previous_review_comment' option 2024-03-03 11:24:30 +02:00
mrT23
db796416d9
wiki 2024-03-02 20:16:29 +02:00
mrT23
35315c070f
major 2024-03-01 13:18:53 +02:00
mrT23
e589dcb489
Enhance markdown formatting and update prompt descriptions in pr_reviewer_prompts.toml 2024-03-01 13:02:50 +02:00
mrT23
a5cb35418e
remove 'review_requested' (can trigger rate limit, and doesnt make sense algorighmically) 2024-02-26 14:20:50 +02:00
mrT23
877796b539
Refactor logging statements for better readability and debugging 2024-02-25 09:46:07 +02:00
mrT23
8b76eb1014
fixed bugs with incremental review 2024-02-22 18:03:00 +02:00
mrT23
b884920ef2
Refactor github_app.py to improve handling of PR events and comments 2024-02-22 17:26:47 +02:00
Ori Kotek
e3dba12fea
Adds an option to ignore PR opens by regex matching 2024-02-22 12:14:04 +02:00
mrT23
275f0d6a05
Update GitLab configuration and documentation for webhook setup 2024-02-21 09:20:28 +02:00
mrT23
0e3417b4ab
webhook 2024-02-21 08:55:59 +02:00
mrT23
34e89e45bd
help improved 2024-02-19 21:07:24 +02:00
mrT23
688cb374f6
lint 2024-02-18 08:19:01 +02:00