You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: /voice is invisible in the Telegram command menu (not in _TELEGRAM_MENU_PRIORITY, ranks below the 30-command cap) #45175
After enabling TTS, /voice does not appear in Telegram's command menu, so users reasonably conclude voice is broken right after turning it on. Typing /voice manually still works.
Why
gateway/platforms/telegram.py registers only MAX_COMMANDS_PER_SCOPE = 30 commands (deliberate, for the ~4KB setMyCommands payload limit). hermes_cli/commands.py::_TELEGRAM_MENU_PRIORITY does not include voice, which ranks ~39th in the default ordering — so it falls outside the registered 30. Verified live via getMyCommands: 30 commands registered, no voice.
Suggested fix
Add "voice" to _TELEGRAM_MENU_PRIORITY. Voice/TTS controls are exactly the kind of operational command that should survive the visible-menu cap — it's the first thing a user looks for after enabling TTS. Locally adding it moves /voice to position ~22 and it shows up in the menu after a gateway restart.
Environment
v0.16.0-era build (main as of ~2026-06-12), macOS, Telegram polling mode.
This is an automated hermes-sweeper review. The reported default Telegram menu behavior is already implemented on main through a broader fix.
Commit d4be583d986f7bcca4f8414fd21ef9e34b18c948 raised the default Telegram command-menu cap from 30 to 60, explicitly to keep all built-in commands visible while staying under Telegram's payload limit.
hermes_cli/commands.py:166 registers /voice, and hermes_cli/commands.py:911-926 builds the Telegram menu from core commands using the configured cap.
plugins/platforms/telegram/adapter.py:2936-2954 uses that default when registering all Telegram command-menu scopes.
Activity
liuhao1024 commentedon Jun 12, 2026
Fixed by #45206 — add /voice to Telegram menu priority list.
teknium1 commentedon Jul 14, 2026
This is an automated hermes-sweeper review. The reported default Telegram menu behavior is already implemented on
mainthrough a broader fix.d4be583d986f7bcca4f8414fd21ef9e34b18c948raised the default Telegram command-menu cap from 30 to 60, explicitly to keep all built-in commands visible while staying under Telegram's payload limit.hermes_cli/commands.py:166registers/voice, andhermes_cli/commands.py:911-926builds the Telegram menu from core commands using the configured cap.plugins/platforms/telegram/adapter.py:2936-2954uses that default when registering all Telegram command-menu scopes./voiceunder the old 30-command default; the later cap increase resolves the user-facing symptom more generally.Verified as contained in release tag
v2026.7.1.