From 90295b64298f57d6f65efdf1e3ec13c8805a13a8 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sat, 21 Sep 2024 21:10:06 +0300 Subject: [PATCH] update PR-Agent usage instructions in pr_description.py --- pr_agent/tools/pr_description.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pr_agent/tools/pr_description.py b/pr_agent/tools/pr_description.py index 7fbeb25b..9f7d79d3 100644 --- a/pr_agent/tools/pr_description.py +++ b/pr_agent/tools/pr_description.py @@ -117,9 +117,8 @@ class PRDescription: pr_body += "
\n\n
✨ Describe tool usage guide:
\n\n" pr_body += HelpMessage.get_describe_usage_guide() pr_body += "\n
\n" - elif self.git_provider.is_supported("gfm_markdown") and get_settings().pr_description.enable_help_comment: - pr_body += "\n\n___\n\n> 💡 **PR-Agent usage**:" - pr_body += "\n>Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions\n\n" + 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' # Output the relevant configurations if enabled if get_settings().get('config', {}).get('output_relevant_configurations', False):