mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-29 06:31:32 +00:00
fix(aux): remove stale session_search model menu entry
This commit is contained in:
parent
effdebb65e
commit
87ace43f1e
2 changed files with 4 additions and 7 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue