mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-06 22:00:40 +08:00
Don't add "How to use" when running from the command line - a small correction
This commit is contained in:
@ -92,10 +92,11 @@ class PRReviewer:
|
|||||||
|
|
||||||
markdown_text = convert_to_markdown(data)
|
markdown_text = convert_to_markdown(data)
|
||||||
user = self.git_provider.get_user_id()
|
user = self.git_provider.get_user_id()
|
||||||
|
|
||||||
|
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 += "\n### How to use\n"
|
||||||
if self.cli_mode:
|
|
||||||
pass
|
|
||||||
elif user and '[bot]' not in user:
|
|
||||||
markdown_text += f"> Tag me in a comment '@{user}' to ask for a new review after you update the PR.\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, " \
|
markdown_text += "> You can also tag me and ask any question, " \
|
||||||
f"for example '@{user} is the PR ready for merge?'"
|
f"for example '@{user} is the PR ready for merge?'"
|
||||||
|
Reference in New Issue
Block a user