Repository navigation
Conversation
…#4104) Co-authored-by: Alex Tumanov <6143578+oleksii-tumanov@users.noreply.github.com>
…t#4070) Co-authored-by: batch <x@x>
Co-authored-by: batch <x@x>
Co-authored-by: batch <x@x>
…he-PR-Agent#4064) Co-authored-by: Ismael Martinez Ramos <ismaelmartinez@gmail.com>
The-PR-Agent#4418) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…group across 1 directory (The-PR-Agent#4419) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pei711 <199601925+pei711@users.noreply.github.com>
Co-authored-by: naorpeled <6171622+naorpeled@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Felipe Lima <lipezera1836@gmail.com>
| full_diff = full_diff_with_metadata | ||
| if full_diff_is_usable: | ||
| if return_prepared: | ||
| return PreparedPRDiff(full_diff, [], model=model, |
| return PreparedPRDiff(full_diff, [], model=model, | ||
| add_line_numbers_to_hunks=add_line_numbers_to_hunks, | ||
| token_handler=token_handler, attempt_budget=budget) | ||
| return full_diff |
Comment on lines
+285
to
+287
| async def is_valid_notification( | ||
| notification, headers, handled_ids, session, user_id, added_handled_ids=None | ||
| ): |
| _fail_on_recorded_tool_error() | ||
|
|
||
|
|
||
| async def _handle_configured_command(url, command): |
| return normalize_setting_list(value) | ||
|
|
||
|
|
||
| async def _handle_request(url, body, notify=None): |
Comment on lines
+227
to
+229
| # elif get_settings().pr_description.enable_help_comment: | ||
| # pr_body += '\n\n___\n\n> 💡 **PR-Agent usage**: ' | ||
| # Comment `/help "your question"` on any pull request to receive relevant information' |
|
|
||
| async def apply_new_mr_repo_settings(url: str): |
| try: | ||
| get_logger().info(f"PR main language: {pr_languages[0]['language']}") | ||
| except Exception as e: | ||
| except Exception: |
| try: | ||
| get_logger().info(f"PR main language: {pr_languages[0]['language']}") | ||
| except Exception as e: | ||
| except Exception: |
| @@ -264,7 +445,7 @@ | |||
| 'names_filtered': names_filtered | |||
|
|
|||
| }) | |||
| except Exception as e: | |||
| except Exception: | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Repository settings can no longer set config.num_retries and a host value above 10 is clamped to 10 to prevent unbounded retries.