output+="The `review` tool scans the PR code changes, and generates a PR review. The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.\n"
output+="""\
Toedit[configurations](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml#L19) related to the review tool (`pr_reviewer` section), use the following template:
output+="<tr><td><details> <summary><strong> How to enable\\disable automation</strong></summary><hr>\n\n"
output+="""\
-Whenyoufirstinstallthegithubapp,the[defaultmode](https://github.com/Codium-ai/pr-agent/blob/main/Usage.md#github-app-automatic-tools) for the `review` tool is:
output+="\n\n<tr><td><details> <summary><strong> More PR-Agent commands</strong></summary><hr> \n\n"
output+=HelpMessage.get_general_bot_help_text()
output+="\n\n</details></td></tr>\n\n"
output+="</table>"
output+=f"\n\nSee the [review usage](https://github.com/Codium-ai/pr-agent/blob/main/docs/REVIEW.md) page for a comprehensive guide on all the available configurations.\n\n"
returnoutput
@staticmethod
defget_describe_usage_guide():
output="**Overview:**\n"
output+="The `describe` tool scans the PR code changes, and generates a description for the PR - title, type, summary, walkthrough and labels. "
output+="The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on a PR.\n"
output+="""\
Toedit[configurations](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml#L46) related to the describe tool (`pr_description` section), use the following template:
-Whenyoufirstinstalltheapp,the[defaultmode](https://github.com/Codium-ai/pr-agent/blob/main/Usage.md#github-app-automatic-tools) for the describe tool is:
Ifyouspecify[customlabels](https://github.com/Codium-ai/pr-agent/blob/main/docs/DESCRIBE.md#handle-custom-labels-from-the-repos-labels-page-gem) in the repo's labels page or via configuration file, you can get tailored labels for your use cases.
output+="\n\n<tr><td><details> <summary><strong> More PR-Agent commands</strong></summary><hr> \n\n"
output+=HelpMessage.get_general_bot_help_text()
output+="\n\n</details></td></tr>\n\n"
output+="</table>"
output+=f"\n\nSee the [describe usage](https://github.com/Codium-ai/pr-agent/blob/main/docs/DESCRIBE.md) page for a comprehensive guide on using this tool.\n\n"