mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-04 07:31:58 +00:00
feat(telegram): support quick-command-only menus
This commit is contained in:
parent
e80d3084e5
commit
b1acf80e17
7 changed files with 144 additions and 3 deletions
|
|
@ -1417,6 +1417,28 @@ Usage: type `/status`, `/disk`, `/update`, `/gpu`, or `/restart` in the CLI or a
|
|||
- **Type** — supported types are `exec` and `alias`; other types show an error
|
||||
- **Works everywhere** — CLI, Telegram, Discord, Slack, WhatsApp, Signal, Email, Home Assistant
|
||||
|
||||
Telegram profiles can opt into a focused BotCommand menu that shows only
|
||||
profile-defined quick commands:
|
||||
|
||||
```yaml
|
||||
telegram:
|
||||
command_menu: quick_commands_only
|
||||
|
||||
quick_commands:
|
||||
health:
|
||||
type: exec
|
||||
command: scripts/health.sh
|
||||
description: Show service health
|
||||
internal-debug:
|
||||
type: exec
|
||||
command: scripts/debug.sh
|
||||
description: Internal debug helper
|
||||
show_in_telegram_menu: false
|
||||
```
|
||||
|
||||
`show_in_telegram_menu: false` hides a quick command from Telegram's native
|
||||
slash menu while leaving the command callable.
|
||||
|
||||
String-only prompt shortcuts are not valid quick commands. For reusable prompt workflows, create a skill or alias to an existing slash command.
|
||||
|
||||
## Human Delay
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue