Skip to content

The agent that grows with you

refactor(state): keep hermes_state_sessions.py under the file cap after the rebase

Teknium401de3bf64eb
diff --git a/hermes_state_sessions.py b/hermes_state_sessions.py
index 71351917175..a072ea5eec5 100644
--- a/hermes_state_sessions.py
+++ b/hermes_state_sessions.py
@@ -842,10 +842,7 @@ class SessionSessionsMixin:
return self._session_row_dict(row) if row else None
def get_session_list_row(self, session_id: str) -> Optional[dict[str, Any]]:
- """The picker fields only, without ``get_session``'s prompt/tool JOIN and token flush.
-
- The live listing reads one row per listed session on the gateway's loop; a full hydration
- there is the cost the sweep does not need (title/source/activity/is-it-closed are columns)."""
+ """Picker columns only: the live listing skips ``get_session``'s prompt/tool JOIN and flush."""
row = self._read_one(
"SELECT id, source, title, started_at, ended_at, message_count, model, hidden, archived "
"FROM sessions WHERE id = ?",