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"