From 9e96fbab1f065ba5b43a653d2482eacaf68fe630 Mon Sep 17 00:00:00 2001 From: Ori Kotek Date: Thu, 6 Jul 2023 18:33:03 +0300 Subject: [PATCH] Don't add "How to use" when running from the command line - a small correction #2 --- pr_agent/tools/pr_reviewer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pr_agent/tools/pr_reviewer.py b/pr_agent/tools/pr_reviewer.py index 888108d2..b39a231e 100644 --- a/pr_agent/tools/pr_reviewer.py +++ b/pr_agent/tools/pr_reviewer.py @@ -96,7 +96,6 @@ class PRReviewer: if not self.cli_mode: markdown_text += "\n### How to use\n" if user and '[bot]' not in user: - markdown_text += "\n### How to use\n" markdown_text += f"> Tag me in a comment '@{user}' to ask for a new review after you update the PR.\n" markdown_text += "> You can also tag me and ask any question, " \ f"for example '@{user} is the PR ready for merge?'"