From 5e595c01218ca8aad20b77fc022bcda698b046dc Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 2 Sep 2026 20:51:04 -0700 Subject: [PATCH] =?UTF-8?q?refactor(hermes=5Fcli):=20mcp=5Fconfig=20?= =?UTF-8?q?=E2=80=94=20readable=20schema=5Fchars=20comprehension?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hermes_cli/mcp_config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hermes_cli/mcp_config.py b/hermes_cli/mcp_config.py index 385b4d7fe2..4930db34b1 100644 --- a/hermes_cli/mcp_config.py +++ b/hermes_cli/mcp_config.py @@ -283,9 +283,9 @@ def _probe_single_server( from tools.mcp_tool import _convert_mcp_schema details["schema_chars"] = { - t.name: len(_json.dumps( - _convert_mcp_schema(name, t), separators=(",", ":"), default=str)) - for t in server._tools} + t.name: len(_json.dumps(_convert_mcp_schema(name, t), separators=(",", ":"), default=str)) + for t in server._tools + } except Exception: # pragma: no cover — display-only extra pass # Gate capability probes like runtime registration (_select_utility_schemas):