diff --git a/docs/docs/installation/index.md b/docs/docs/installation/index.md index a697ebdf..cf5bf2e4 100644 --- a/docs/docs/installation/index.md +++ b/docs/docs/installation/index.md @@ -13,5 +13,5 @@ There are several ways to use self-hosted PR-Agent: ## Qodo Merge 💎 Qodo Merge, an app hosted by QodoAI for GitHub\GitLab\BitBucket, is also available.
-With Qodo Merge, installation is as simple as adding the Qodo Merge app to your relevant repo. +With Qodo Merge, installation is as simple as adding the Qodo Merge app to your relevant repositories. See [here](https://qodo-merge-docs.qodo.ai/installation/qodo_merge/) for more details. diff --git a/pr_agent/tools/pr_description.py b/pr_agent/tools/pr_description.py index e2789a2e..12ba7555 100644 --- a/pr_agent/tools/pr_description.py +++ b/pr_agent/tools/pr_description.py @@ -134,8 +134,18 @@ class PRDescription: pr_body += "
\n\n
✨ Describe tool usage guide:
\n\n" pr_body += HelpMessage.get_describe_usage_guide() pr_body += "\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' + elif get_settings().pr_description.enable_help_comment and self.git_provider.is_supported("gfm_markdown"): + if isinstance(self.git_provider, GithubProvider): + pr_body += ('\n\n___\n\n>
Need help?
  • Type /help how to ... ' + 'in the comments thread for any questions about PR-Agent usage.
  • Check out the ' + 'documentation ' + 'for more information.
  • ') + else: # gitlab + pr_body += (">
    Need help?- Type /help how to ... in the comments " + "thread for any questions about PR-Agent usage.
    - Check out the " + "documentation for more information.
    ") + # 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):