mrT23
b7437147af
fix: correct model type extraction for O1 model handling in litellm_ai_handler.py
2024-10-19 11:32:45 +03:00
Hussam Lawen
e82afdd2cb
Merge pull request #1290 from Codium-ai/hl/tickets_support
...
support more types of github ticket url / references
2024-10-14 14:34:45 +03:00
Hussam.lawen
0946da3810
support github enterprise
2024-10-14 14:31:34 +03:00
Hussam Lawen
d45a892fd2
Update pr_agent/tools/ticket_pr_compliance_check.py
...
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
2024-10-14 10:59:58 +03:00
Hussam.lawen
3a52122677
improve and combine regex
2024-10-14 10:30:07 +03:00
Hussam.lawen
eb804d0b34
clean
2024-10-14 10:08:36 +03:00
mrT23
27abe48a34
feat: import Range utility in GitHubProvider for enhanced functionality
2024-10-14 09:43:58 +03:00
mrT23
8fe504a7ec
feat: import Range utility in GitHubProvider for enhanced functionality
2024-10-14 09:40:57 +03:00
mrT23
f6ba49819a
feat: enhance GitHubProvider with improved error handling and URL parsing
...
- Add traceback logging for exceptions in diff file retrieval
- Improve URL parsing to handle '/api/v3' paths and validate GitHub URLs
- Modify `publish_comment` to return None for temporary comments
- Update constructor to accept an optional GitHub client parameter
2024-10-14 09:18:06 +03:00
Hussam.lawen
22bf7af9ba
refactor regex
2024-10-14 08:44:01 +03:00
Hussam.lawen
840e8c4d6b
support more types of github ticket url / references
2024-10-13 22:41:33 +03:00
mrT23
05827d125b
fix: handle missing issue body and improve error logging in ticket compliance check
2024-10-13 08:19:14 +03:00
mrT23
74ee9a333e
fix: handle missing issue body and improve error logging in ticket compliance check
2024-10-13 08:15:04 +03:00
mrT23
76d95bb6d7
feat: add ticket compliance check
...
- Implement ticket compliance check logic in `utils.py` and `ticket_pr_compliance_check.py`
- Add functions to extract and cache PR tickets, and check ticket relevancy
2024-10-10 10:01:48 +03:00
Tal
e6c56c7355
Update pr_agent/algo/ai_handlers/litellm_ai_handler.py
...
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
2024-10-09 08:56:31 +03:00
mrT23
727b08fde3
feat: add support for O1 model by combining system and user prompts in litellm_ai_handler
2024-10-09 08:53:34 +03:00
mrT23
23a3e208a5
docs: update improve.md with folding suggestions feature and add config option
2024-10-08 20:51:45 +03:00
Cory Ball
a476e85fa7
bug-fix_azuredevops-new-file
2024-10-08 01:13:44 -05:00
mrT23
4b05a3e858
refactor: streamline hunk processing logic in git_patch_processing.py
...
- Simplified logic for handling new and old hunks to ensure consistent presentation of changes.
- Updated documentation in TOML files to reflect changes in hunk section handling and line number references.
2024-10-07 20:32:11 +03:00
mrT23
cd158f24f6
fix: move settings initialization outside inner function in gitlab_webhook
2024-10-07 20:24:21 +03:00
mrT23
ddf1afb23f
chore: update prompt guidelines to include exception type suggestions
2024-10-07 09:17:26 +03:00
mrT23
e2b5489495
feat: add error handling for invalid repo settings configuration
...
- Implement error handling for invalid TOML configurations in repo settings.
- Log warnings and send comments to PRs when configuration errors occur.
- Introduce `handle_configurations_errors` function to manage error reporting.
- Ensure compatibility with different markdown formats for error messages.
2024-10-07 09:13:17 +03:00
mrT23
618224beef
s
2024-10-02 17:15:44 +03:00
mrT23
e21d9dc9e3
s
2024-10-02 17:08:52 +03:00
mrT23
6872a7076b
s
2024-10-02 17:07:09 +03:00
mrT23
c2ae429805
feat: enhance PR processing logic across GitLab, GitHub, and Bitbucket
...
- Refactor `should_process_pr_logic` to improve PR filtering based on data attributes.
- Update `_perform_commands_*` functions to incorporate new PR processing checks.
- Ensure consistent handling of PRs by checking configurations before executing commands.
2024-10-02 17:02:33 +03:00
mrT23
bccc2844b9
dual publishing mode
2024-10-01 08:32:29 +03:00
mrT23
8ff8b1d48e
default
2024-10-01 08:22:28 +03:00
mrT23
da0bd84746
dual
2024-10-01 08:20:16 +03:00
mrT23
dfa4f22be2
feat: add dual publishing mode for PR code suggestions
...
- Introduced dual publishing mode to present high-scoring suggestions as both table entries and commitable PR comments.
- Updated documentation to include configuration options for dual publishing mode.
- Enhanced `pr_code_suggestions.py` to handle dual publishing logic and error handling.
- Modified `configuration.toml` to include `duel_publishing_score_threshold` setting.
2024-10-01 08:01:27 +03:00
mrT23
454365913f
refactor: update terminology for issue review recommendations in utils.py
2024-09-30 13:00:01 +03:00
mrT23
bbaba2dbda
refactor: update terminology for issue review recommendations in utils.py
...
style: refine field descriptions in KeyIssuesComponentLink model
2024-09-30 08:58:32 +03:00
mrT23
e4c6792866
Merge remote-tracking branch 'origin/main'
2024-09-30 07:52:54 +03:00
mrT23
183dd5d2fc
diverse
2024-09-30 07:52:43 +03:00
Tal
2e79392a5f
Merge pull request #1256 from Codium-ai/mrT23-patch-2
...
disable chat message for github action
2024-09-30 07:40:04 +03:00
mrT23
35b1f5e747
key
2024-09-29 07:23:34 +03:00
mrT23
d77a819d92
Add intro text option for PR reviews in configuration and utils
2024-09-29 07:06:48 +03:00
Tal
1333ac47bc
Update configuration.toml
2024-09-26 18:24:11 +03:00
mrT23
8bdebcb99f
Enable intro and chat text for PR code suggestions in configuration
2024-09-26 17:11:00 +03:00
mrT23
89f9cf5adc
Add intro and chat text options for PR code suggestions in configuration
2024-09-26 09:07:51 +03:00
mrT23
109b965407
Add configuration for auto actions in GitHub Action runner
2024-09-26 08:03:39 +03:00
mrT23
3dd8050004
improve code suggestion prompt
2024-09-25 21:22:41 +03:00
mrT23
4b7d01972c
improve code suggestion prompt
2024-09-25 21:15:14 +03:00
mrT23
4713ae74b7
improve code suggestion prompt
2024-09-25 17:42:59 +03:00
mrT23
c828cdde62
improve code suggestion prompt
2024-09-25 17:41:21 +03:00
mrT23
6f14f9c8e1
improve code suggestion prompt
2024-09-25 16:22:16 +03:00
mrT23
d5625db3c8
DocHelper
2024-09-22 16:16:59 +03:00
mrT23
d6b779eef8
DocHelper
2024-09-22 16:14:32 +03:00
mrT23
804cb9ec1d
DocHelper
2024-09-22 15:55:18 +03:00
mrT23
397963257d
DocHelper
2024-09-22 10:21:47 +03:00
mrT23
a3fd15bb92
Merge remote-tracking branch 'origin/main' into tr/help_fixes
2024-09-22 09:27:10 +03:00
mrT23
ded7d96649
DocHelper
2024-09-22 09:23:34 +03:00
mrT23
0198c61cf7
update docs
2024-09-22 09:00:56 +03:00
mrT23
20d8e76a7f
logs
2024-09-22 08:31: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
ba08b13446
update PR-Agent usage instructions in pr_description.py
2024-09-21 21:10:51 +03:00
mrT23
8229d98842
docs pr help
2024-09-21 20:55:05 +03:00
mrT23
5c7b65810c
Refactor S3 file handling and update Dockerfile to include local Chroma DB file
2024-09-21 19:11:46 +03:00
mrT23
1e51acff22
get protection
2024-09-21 17:07:46 +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
mrT23
08319f8492
fixed azure remove comment bug
2024-09-19 12:54:26 +03:00
Tal
16763d81b4
Merge pull request #1232 from yzongyue/feature/compatible_with_old_gitlab
...
func get_line_link compatible with old gitlab versions
2024-09-15 17:06:43 +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
yzongyue
ce8e637800
get_line_link compatible with old gitlab versions
2024-09-15 14:56:08 +08:00
Matan Baruch
306af02d22
Update github_action_runner.py
2024-09-15 09:42:02 +03:00
Matan Baruch
a23541912b
Update github_action_runner.py
2024-09-15 09:40:05 +03:00
Matan Baruch
0851767774
Update configuration.toml
2024-09-15 09:35:58 +03:00
Matan Baruch
585a7f1c69
Update github_action_runner.py
2024-09-15 09:33:47 +03:00
mrT23
8d82cb2e04
f string
2024-09-15 08:50:24 +03:00
mrT23
480a025877
Merge remote-tracking branch 'origin/main' into tr/dynamic
2024-09-15 08:08:11 +03:00
mrT23
8f943a0d44
fix: update error logging messages and system prompt handling in litellm_ai_handler.py
2024-09-15 08:07:59 +03:00
eddielu
29028d43cf
Set azure devops default status to ByDesign
2024-09-13 18:01:08 -07:00
mrT23
cc0e432247
refactor logic
2024-09-13 22:17:24 +03:00
mrT23
0fb158fd47
fix push gitlab
2024-09-13 20:59:45 +03:00
trung.dinh@zoi.tech
a94496285f
Add o1-preview models
2024-09-13 08:23:18 +07:00
trung.dinh@zoi.tech
567c144176
Add o1-mini models
2024-09-13 08:22:09 +07: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
Tal
3ea691e70a
Merge pull request #1216 from Codium-ai/tr/azure_parsing
...
fix: improve Azure DevOps PR URL parsing and add unit tests
2024-09-12 09:09:24 +03:00
mrT23
7de6bb0150
enhance: cap patch extra lines and update documentation with separators and context adjustments
2024-09-12 09:05:26 +03:00
mrT23
a1582b5338
enhance: cap patch extra lines and update documentation with separators and context adjustments
2024-09-12 09:01:36 +03:00
mrT23
09b0a04a47
docs and fixes
2024-09-10 20:06:48 +03:00
Tal
1451d82d6b
Update pr_agent/algo/pr_processing.py
...
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
2024-09-10 17:50:32 +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
e444da8378
fix: improve Azure DevOps PR URL parsing and add unit tests
2024-09-10 08:19:22 +03:00
mrT23
1a9638cf87
bug fix: remove unused get_pr_description method from Azure DevOps provider
2024-09-09 16:25:34 +03:00
mrT23
c8e8ed89d2
feat: integrate Dynaconf for configuration management and enhance config display
2024-09-09 08:31:20 +03:00
mrT23
ebc5cafb2b
protection
2024-09-08 17:46:21 +03:00
mrT23
86103c65e8
pattern_back
2024-09-08 17:24:13 +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
d2a744e70c
fix: remove line
2024-09-06 18:42:47 +02:00
Paolo Mainardi
be93c52380
fix: remove line
2024-09-06 18:42:28 +02:00
Paolo Mainardi
7ccefca35e
fix: remove comment
2024-09-06 18:41:36 +02:00
Paolo Mainardi
14b4723734
feat: move configuration to a common config section, add documentation
2024-09-06 18:32:46 +02:00
mrT23
c8f1c03061
fix: correct tuple unpacking in GitHub polling task queue loop
2024-09-05 20:31:17 +03:00
Tal
b02fa22948
Merge pull request #1198 from Codium-ai/tr/polling
...
Tr/polling
2024-09-05 19:58:51 +03:00
mrT23
85754d2d79
feat: enhance GitHub polling with synchronous comment processing and improved logging
2024-09-05 16:57:10 +03:00
mrT23
f0d780c7ec
feat: enhance GitHub polling with synchronous comment processing and improved logging
2024-09-05 16:55:10 +03:00
mrT23
19048ee705
feat: enhance GitHub polling with synchronous comment processing and improved logging
2024-09-05 16:53:31 +03:00
mrT23
b8d2b263b9
feat: enhance GitHub polling with synchronous comment processing and improved logging and bug fixing
2024-09-05 16:52:47 +03:00
proDOOMman
be75bb6a16
Add 1C Enterprise language
2024-09-04 09:04:39 +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
Paolo Mainardi
2f7f60a469
fix: review standardize regex checking
2024-09-02 16:31:19 +02:00
Paolo Mainardi
adce35765b
feat: implement skip branches for github, add ignore title to gitlab
2024-09-02 16:26:50 +02:00
mrT23
9e063bf48a
fix: handle missing score in code suggestions and adjust indentation in pr_code_suggestions.py
2024-09-01 08:47:23 +03:00
mrT23
5432469ef6
fix: ensure non-empty lines are processed correctly in git patch handling
2024-09-01 08:39:29 +03:00
mrT23
2c496b9d4e
fix: improve PR patch decoding and clean up Bitbucket provider code
...
- Add fallback encodings for PR patch decoding to handle non-UTF-8 encodings.
- Update logging messages for better clarity.
- Remove unnecessary blank lines and fix minor formatting issues.
- Ensure full files are retrieved in `get_diff_files` method.
2024-09-01 08:38:26 +03:00
Tal
5ac41dddd6
Merge pull request #1191 from AHancher2022/bugfix/fix-output-publishing-when-set-to-false
...
Fixing code suggestions being published when publish ouput is false
2024-08-31 16:35:09 +03:00
Tal
9df554ed1c
Merge pull request #1185 from jozefvodicka/patch-1
...
Update pr_update_changelog.py to include "[skip ci]" so pipeline is n…
2024-08-31 16:33:18 +03:00
Paolo Mainardi
23af1afa03
feat: gitlab skip source, target and labels
2024-08-30 17:01:18 +02:00
Paolo Mainardi
fdcbdfce98
feat: gitlab skip source, target and labels
2024-08-30 16:40:23 +02:00
mhoecke1
cf14e45674
further cleaned up code based on feedback
2024-08-30 10:10:39 -04:00
=
1c51b5b762
Fixing code suggestions being published if there are no code suggestions when publish output is false
2024-08-30 09:12:22 -04:00
woung717
578d7c69f8
fix: change deprecated timeout parameter for litellm
2024-08-29 21:45:48 +09: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
Tal
97b48da03b
Merge pull request #1184 from MaxHoecker/bugfix/suggestions_error_publish
...
checking for publish_output in the suggestions tool exception handler
2024-08-28 20:35:05 +03:00
Jozef Vodicka
4203ee4ca8
Update pr_update_changelog.py to include "[skip ci]" so pipeline is not triggered
2024-08-28 12:08:39 +02:00
Tal
84dc976ebb
Merge pull request #1163 from MarkRx/bugfix/asyncio-task-completion
...
Ensure asyncio event queue is drained prior to CLI termination
2024-08-28 07:54:37 +03:00
mhoecke1
d9571ee7cb
checking for publish_output in the suggestions tool exception handler
2024-08-28 00:41:56 -04:00
mrT23
c2f52539aa
fix: handle deleted files in git patch processing and update section header logic
2024-08-27 09:31:31 +03:00
mhoecke1
0442cdcd3d
adding config value for old Bitbucket Server diff functionality
2024-08-26 16:07:21 -04:00
MarkRx
93773f3c08
Ensure asyncio event queue is drained prior to CLI termination
2024-08-26 15:14:45 -04:00
Paolo Mainardi
c9ed271eaf
feat: keep manual comments working when commenting draft MRs
...
closes #1160
2024-08-26 14:50:43 +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
441e098e2a
fix: correct YAML formatting in response text processing in utils.py
2024-08-25 11:26:48 +03:00
mrT23
b9d096187a
fix: skip processing comments without a body in GitHub polling server
2024-08-25 07:21:40 +03:00
Tal
dae87d7da8
Merge pull request #1170 from Codium-ai/tr/avoid_repeating_pr_changes
...
Update PR code suggestions prompts
2024-08-25 07:17:47 +03:00
mhoecke1
a99ebf8953
implementing PR bot feedback
2024-08-23 11:18:42 -04:00
mhoecke1
2a9e3ee1ef
removing unnecessary if check
2024-08-23 10:57:58 -04:00
mhoecke1
2beefab89a
BB server 2 way diff fixes
2024-08-23 10:47:27 -04: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
Paolo Mainardi
3778cc2745
feat: skip draft by default
2024-08-22 21:59:01 +02:00
Paolo Mainardi
8793f8d9b0
Update gitlab_webhook.py
2024-08-22 21:14:49 +02:00
Paolo Mainardi
61837c69a3
Update gitlab_webhook.py
2024-08-22 21:13:54 +02:00
Paolo Mainardi
ffaf5d5271
feat: Handle the gitlab MR draft status
...
closes #1160
2024-08-22 17:29:39 +02: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
2591a5d6c1
patch_extension_skip_types
...
Add validation for latest_comment and cast suggestions_score_threshold to int
2024-08-20 12:11:34 +03:00
mrT23
d467f5a7fd
patch_extension_skip_types
2024-08-20 11:37:27 +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
mrT23
660a60924e
Add filename parameter and skip logic to extend_patch function in git_patch_processing.py
2024-08-20 11:23:37 +03:00
MarkRx
8aa76a0ac5
Add and document abilty to use LiteLLM Logging Observability tools
2024-08-19 15:45:47 -04:00
Tal
9bec97c66c
Merge pull request #1156 from Codium-ai/tr/dynamic_context
...
Tr/dynamic context
2024-08-19 14:01:42 +03: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
trung.dinh@zoi.tech
dc8a4be2d4
Add new line for a better visually
2024-08-18 20:38:00 +07:00
trung.dinh@zoi.tech
f9de8f283b
Improve variable consistency in prompt rendering for pr generate labels flow
2024-08-18 20:30:10 +07:00
trung.dinh@zoi.tech
bd5c19ee05
Improve variable consistency in prompt rendering for pr description flow
2024-08-18 20:29:59 +07:00
mrT23
48cc2f6833
Limit comment body length and adjust logging levels in GitHub provider
2024-08-18 08:26:01 +03:00
mrT23
229d7b34c7
Limit comment body length and adjust logging levels in GitHub provider
2024-08-18 08:24:27 +03:00
mrT23
03b194c337
Add null and type checks for 'pr_files' in _prepare_file_labels method in pr_description.py
2024-08-18 08:21:32 +03:00
mrT23
a6f772c6d5
Refactor comment deletion method to 'remove_comment' in git providers and update references
2024-08-18 08:19:25 +03:00
mrT23
ba1ba98dec
Add logging for empty PR files and code suggestions status in pr_code_suggestions.py
2024-08-18 08:17:25 +03:00
mrT23
5954c7cec2
Add logging for empty PR files and update warning for empty diffs in pr_reviewer.py
2024-08-18 08:14:37 +03:00
mrT23
dc1a8e8314
Add detailed logging and error handling in GitHub polling server
...
- Introduce traceback logging for exceptions during notification processing.
- Enhance logging for PR comments with additional artifact information.
- Update configuration settings for publishing PR descriptions as comments.
2024-08-18 08:13:40 +03:00
mrT23
aa87bc60f6
Rename 'add_callbacks' to 'add_litellm_callbacks' for clarity in litellm_ai_handler
2024-08-17 09:20:30 +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
4a71ec90c6
Add null check for 'suggestion' in publish_code_suggestions method in gitlab_provider.py
2024-08-16 09:04:45 +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
Tal
b9df034c97
Merge pull request #1138 from Codium-ai/tr/err_protections
...
Add 'only_markdown' parameter to emphasize_header call in utils.py fo…
2024-08-14 14:03:43 +03:00
mrT23
bae8d36698
Add 'only_markdown' parameter to emphasize_header call in utils.py for security concerns section
2024-08-14 14:02:09 +03:00
Hussam.lawen
4fea780b9b
fix html escaping
2024-08-14 12:13:51 +03:00
Tal
01c18d7d98
Merge pull request #1134 from Codium-ai/tr/err_protections
...
Tr/err protections
2024-08-14 08:17:19 +03:00
mrT23
f4b06640d2
Add info log for successful AI prediction parse in utils.py
2024-08-14 08:14:51 +03:00
mrT23
f1981092d3
Add warning log for initial AI prediction parse failure and error log for fallback failure in utils.py
2024-08-14 08:08:55 +03:00
mrT23
8414e109c5
Update logging levels and add error handling for empty data in PR tools and providers
2024-08-14 08:02:34 +03:00
mrT23
8adfca5b3c
Add error handling for short diffs and improve logging in Bitbucket provider
2024-08-14 07:54:11 +03:00
Tal
672cdc03ab
Merge pull request #1133 from Codium-ai/tr/err_protections
...
Add error handling for empty diff files in utils.py and optimize file…
2024-08-13 22:36:00 +03:00
mrT23
86a9cfedc8
Add error handling for empty diff files in utils.py and optimize file content retrieval in Bitbucket provider
2024-08-13 22:33:07 +03:00
Tal
7ac9f27b70
Merge pull request #1132 from Codium-ai/tr/err_protections
...
Add error handling for missing GitLab URL and improve inline comment …
2024-08-13 19:05:00 +03:00
mrT23
a3b3d6c77a
Add error handling for missing GitLab URL and improve inline comment logic in gitlab_provider.py
2024-08-13 19:00:09 +03:00
Stephen Quinn
2e41701d07
fixes
2024-08-13 16:21:46 +01:00
Stephen Quinn
578f56148a
Merge branch 'Codium-ai:main' into main
2024-08-13 16:04:55 +01:00
mrT23
f89bdcf3c3
Add error handling for missing custom label settings in utils.py
2024-08-13 16:40:05 +03:00
mrT23
e7e3970874
Add error handling for empty system prompt in litellm_ai_handler and type conversion in utils.py
2024-08-13 16:26:32 +03:00
mrT23
38638bd1c4
relevant_lines_start > len(file_lines):
2024-08-13 12:59:51 +03:00
mrT23
26f3bd8900
Add error handling for out-of-range relevant_lines_start and missing head_file in pr_code_suggestions.py
2024-08-13 12:57:31 +03:00
mrT23
a2fb415c53
Add git_files attribute to Bitbucket provider class for enhanced file handling
2024-08-13 12:39:45 +03:00
mrT23
8038eaf876
Add error handling for missing required fields in file label dictionary in pr_description.py
2024-08-13 12:16:52 +03:00
mrT23
78b11c80c7
Add error handling for empty secrets in GitLab webhook and lower log level for Google Cloud Storage secret retrieval errors
2024-08-13 11:42:07 +03:00
mrT23
cb65b05e85
Add error handling for missing username fields in Bitbucket webhook handler and update log context
2024-08-13 11:33:19 +03:00
mrT23
1aa6dd9b5d
Add error handling for missing file paths in Bitbucket provider and improve file validation logic
2024-08-13 11:28:21 +03:00
Stephen Quinn
11d69e05aa
fix git provider
2024-08-13 09:25:59 +01:00
mrT23
5252e1826d
Add handling for empty diffs in Bitbucket provider to avoid logging errors
2024-08-13 09:45:45 +03:00
mrT23
396d11aa45
Improve logging and diff filtering in Bitbucket provider
...
- Enhance logging to include both kept and filtered file names
- Add conditional check to filter diff elements based on original and current diffs
2024-08-13 08:59:45 +03:00
mrT23
4a38861d06
Add error handling for missing file paths in file_filter.py for Bitbucket and GitLab platforms
2024-08-13 08:59:27 +03:00
mrT23
8589941ffe
Improve Bitbucket diff handling for new and deleted files and add error protection for missing file links
2024-08-12 21:15:26 +03:00
mrT23
7f0e6aeb37
Add conditional checks for review label settings in set_review_labels method
2024-08-12 20:57:32 +03:00
mrT23
8a768aa7fd
Lower log level for missing code suggestions from error to warning
2024-08-12 18:41:24 +03:00
Tal
cc73d4599b
Merge pull request #1123 from Codium-ai/ok/app_name
...
Add app_name to log_context in Bitbucket and GitLab webhook handlers
2024-08-12 16:26:08 +03:00
Tal
4228f92e7e
Merge pull request #1119 from Codium-ai/hl/limit_long_comments
...
Hl/limit long comments
2024-08-12 16:25:42 +03:00
Ori Kotek
b59111e4a6
Add app_name to log_context in Bitbucket and GitLab webhook handlers
2024-08-12 16:10:41 +03:00
Hussam.lawen
70da871876
lower OpenAI errors to warnings
2024-08-12 12:27:48 +03:00