From 4c444f5c9acf7eac2403f06a5994a9f9a63d98e6 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Fri, 28 Jun 2024 08:09:52 +0300 Subject: [PATCH] fixes --- pr_agent/tools/pr_code_suggestions.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pr_agent/tools/pr_code_suggestions.py b/pr_agent/tools/pr_code_suggestions.py index f60131ec..0e39a6cf 100644 --- a/pr_agent/tools/pr_code_suggestions.py +++ b/pr_agent/tools/pr_code_suggestions.py @@ -545,13 +545,6 @@ class PRCodeSuggestions: {example_code.rstrip()} """ - if (get_settings().pr_code_suggestions.apply_suggestions_checkbox and - (isinstance(self.git_provider, GithubProvider) or isinstance(self.git_provider, - GitLabProvider))): - # add a checkbox line, to create a committal suggestion from the table suggestion - if '...' not in patch: - pr_body += f"""\n- [ ] **Apply this suggestion** \n\n""" - if get_settings().pr_code_suggestions.self_reflect_on_suggestions: pr_body += f"
Suggestion importance[1-10]: {suggestion['score']}\n\n" pr_body += f"Why: {suggestion['score_why']}\n\n"