mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-13 03:15:17 +00:00
Merge pull request #362 from zmeir/zmeir-fix_help_message_for_bot
Fixed help message for bot user
This commit is contained in:
commit
e66fed2468
1 changed files with 2 additions and 1 deletions
|
|
@ -241,7 +241,8 @@ class PRReviewer:
|
|||
# Add help text if not in CLI mode
|
||||
if not get_settings().get("CONFIG.CLI_MODE", False):
|
||||
markdown_text += "\n### How to use\n"
|
||||
if user and '[bot]' not in user:
|
||||
bot_user = "[bot]" if get_settings().github_app.override_deployment_type else get_settings().github_app.bot_user
|
||||
if user and bot_user not in user:
|
||||
markdown_text += bot_help_text(user)
|
||||
else:
|
||||
markdown_text += actions_help_text
|
||||
|
|
|
|||
Loading…
Reference in a new issue