From 87ace43f1e74064a14357a3e8fc76b84e8e58a9e Mon Sep 17 00:00:00 2001 From: hehehe0803 <26063003+hehehe0803@users.noreply.github.com> Date: Mon, 18 May 2026 20:01:28 -0700 Subject: [PATCH] fix(aux): remove stale session_search model menu entry --- hermes_cli/main.py | 1 - tests/hermes_cli/test_aux_config.py | 10 ++++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/hermes_cli/main.py b/hermes_cli/main.py index fec6709977b..fa8fb549886 100644 --- a/hermes_cli/main.py +++ b/hermes_cli/main.py @@ -2142,7 +2142,6 @@ _AUX_TASKS: list[tuple[str, str, str]] = [ ("vision", "Vision", "image/screenshot analysis"), ("compression", "Compression", "context summarization"), ("web_extract", "Web extract", "web page summarization"), - ("session_search", "Session search", "past-conversation recall"), ("approval", "Approval", "smart command approval"), ("mcp", "MCP", "MCP tool reasoning"), ("title_generation", "Title generation", "session titles"), diff --git a/tests/hermes_cli/test_aux_config.py b/tests/hermes_cli/test_aux_config.py index e3acaa39b81..0bd978f93fc 100644 --- a/tests/hermes_cli/test_aux_config.py +++ b/tests/hermes_cli/test_aux_config.py @@ -42,12 +42,10 @@ def test_title_generation_present_in_default_config(): assert tg["extra_body"] == {} -def test_session_search_defaults_include_extra_body_and_concurrency(): - ss = DEFAULT_CONFIG["auxiliary"]["session_search"] - assert ss["provider"] == "auto" - assert ss["model"] == "" - assert ss["extra_body"] == {} - assert ss["max_concurrency"] == 3 +def test_session_search_no_longer_appears_in_auxiliary_model_config(): + """session_search is a direct DB-backed tool, not an auxiliary LLM task.""" + assert "session_search" not in DEFAULT_CONFIG["auxiliary"] + assert "session_search" not in {key for key, _name, _desc in _AUX_TASKS} def test_aux_tasks_keys_all_exist_in_default_config():