From f5324f9aa500ca798f9e910ef1750b8210a46495 Mon Sep 17 00:00:00 2001 From: teknium1 Date: Wed, 11 Mar 2026 02:33:25 -0700 Subject: [PATCH] fix: initialize self.config in HermesCLI to fix AttributeError on slash commands HermesCLI.__init__ never assigned self.config, causing an AttributeError ('HermesCLI object has no attribute config') whenever an unrecognized slash command fell through to the quick_commands check (line 2832). This broke skill slash commands like /x-thread-creation since the quick_commands lookup runs before the skill command check. Set self.config = CLI_CONFIG in __init__, matching the pattern used by the gateway (run.py:199). --- cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cli.py b/cli.py index b3627fc4..e9019ca4 100755 --- a/cli.py +++ b/cli.py @@ -1107,6 +1107,7 @@ class HermesCLI: """ # Initialize Rich console self.console = Console() + self.config = CLI_CONFIG self.compact = compact if compact is not None else CLI_CONFIG["display"].get("compact", False) # tool_progress: "off", "new", "all", "verbose" (from config.yaml display section) self.tool_progress_mode = CLI_CONFIG["display"].get("tool_progress", "all")