Skip to content

The agent that grows with you

style(cli): drop the min_message_count note from the with line

kshitijk4poor0cb9b479541c
diff --git a/hermes_cli/main.py b/hermes_cli/main.py
index 9b2acf1f4d6..01234d8f460 100644
--- a/hermes_cli/main.py
+++ b/hermes_cli/main.py
@@ -1340,7 +1340,7 @@ def _resolve_last_session(source: str = "cli") -> Optional[str]:
if source == "cli":
from agent.session_source import CLI_FAMILY_SOURCES
source = sorted(CLI_FAMILY_SOURCES)
- with _session_db() as db: # min_message_count: an empty launch stub never wins (resolve_latest_session)
+ with _session_db() as db:
ws_key = _resolve_workspace_key()
if ws_key:
sessions = db.search_sessions(source=source, limit=1, workspace_key=ws_key, min_message_count=1)