From c16ed1d542d74eaec38a9e53547291e46227ce26 Mon Sep 17 00:00:00 2001 From: NxPKG Date: Wed, 29 Jan 2025 00:43:29 +0600 Subject: [PATCH] Update pr_help_message.py Signed-off-by: NxPKG --- pr_insight/tools/pr_help_message.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pr_insight/tools/pr_help_message.py b/pr_insight/tools/pr_help_message.py index c36a0748..9971ffbf 100644 --- a/pr_insight/tools/pr_help_message.py +++ b/pr_insight/tools/pr_help_message.py @@ -232,7 +232,7 @@ async def run(self): for i in range(len(tool_names)): pr_comment += f"\n\n\n{tool_names[i]}\n{descriptions[i]}\n\n\n{checkbox_list[i]}\n" pr_comment += "\n\n" - pr_comment += f"""\n\n(1) Note that each tool be [triggered automatically](https://pr-insight-docs.khulnasoft.com/usage-guide/automations_and_usage/#github-app-automatic-tools-when-a-new-pr-is-opened) when a new PR is opened, or called manually by [commenting on a PR](https://pr-insight-docs.khulnasoft.com/usage-guide/automations_and_usage/#online-usage).""" + pr_comment += f"""\n\n(1) Note that each tool can be [triggered automatically](https://pr-insight-docs.khulnasoft.com/usage-guide/automations_and_usage/#github-app-automatic-tools-when-a-new-pr-is-opened) when a new PR is opened, or called manually by [commenting on a PR](https://pr-insight-docs.khulnasoft.com/usage-guide/automations_and_usage/#online-usage).""" pr_comment += f"""\n\n(2) Tools marked with [*] require additional parameters to be passed. For example, to invoke the `/ask` tool, you need to comment on a PR: `/ask ""`. See the relevant documentation for each tool for more details.""" elif isinstance(self.git_provider, BitbucketServerProvider): # only support basic commands in BBDC @@ -242,7 +242,7 @@ async def run(self): for i in range(len(tool_names)): pr_comment += f"\n\n\n{tool_names[i]}{commands[i]}{descriptions[i]}" pr_comment += "\n\n" - pr_comment += f"""\n\nNote that each tool be [invoked automatically](https://pr-insight-docs.khulnasoft.com/usage-guide/automations_and_usage/) when a new PR is opened, or called manually by [commenting on a PR](https://pr-insight-docs.khulnasoft.com/usage-guide/automations_and_usage/#online-usage).""" + pr_comment += f"""\n\nNote that each tool can be [invoked automatically](https://pr-insight-docs.khulnasoft.com/usage-guide/automations_and_usage/) when a new PR is opened, or called manually by [commenting on a PR](https://pr-insight-docs.khulnasoft.com/usage-guide/automations_and_usage/#online-usage).""" if get_settings().config.publish_output: self.git_provider.publish_comment(pr_comment)