Feature request
The list_sessions_rich() method in hermes_state.py already supports exclude_sources=["cron"], but the API server's _handle_list_sessions handler in gateway/platforms/api_server.py doesn't pass this parameter.
Why it matters: Users who run cron jobs see hundreds of cron sessions mixed with their chat sessions in the Workspace sidebar with no way to filter them out.
Suggested fix: In gateway/platforms/api_server.py, add exclude_sources=["cron"] to the db.list_sessions_rich() call.
Feature request
The
list_sessions_rich()method inhermes_state.pyalready supportsexclude_sources=["cron"], but the API server's_handle_list_sessionshandler ingateway/platforms/api_server.pydoesn't pass this parameter.Why it matters: Users who run cron jobs see hundreds of cron sessions mixed with their chat sessions in the Workspace sidebar with no way to filter them out.
Suggested fix: In
gateway/platforms/api_server.py, addexclude_sources=["cron"]to thedb.list_sessions_rich()call.