mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-08 03:01:47 +00:00
Discover plugin commands during CLI dispatch
This commit is contained in:
parent
ecc909de38
commit
e805380b82
1 changed files with 2 additions and 2 deletions
4
cli.py
4
cli.py
|
|
@ -1890,8 +1890,8 @@ _skill_commands = scan_skill_commands()
|
|||
def _get_plugin_cmd_handler_names() -> set:
|
||||
"""Return plugin command names (without slash prefix) for dispatch matching."""
|
||||
try:
|
||||
from hermes_cli.plugins import get_plugin_manager
|
||||
return set(get_plugin_manager()._plugin_commands.keys())
|
||||
from hermes_cli.plugins import get_plugin_commands
|
||||
return set(get_plugin_commands().keys())
|
||||
except Exception:
|
||||
return set()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue