Files
hermes-agent/agent
kshitijk4poor 6b21d0564d feat(memory): initialize() is told whether the agent continues a stored session
A memory provider could not tell a fresh session from one the agent is continuing (a CLI
--resume, a gateway chat picked up after a restart, a Desktop/TUI session reopened), so it
could not skip re-seeding or reconcile against what it already holds. Agent builds now pass
resumed (an earlier turn of this session id ran: an assistant row is stored) and
message_count (messages stored for it). Keying resumed on an answered turn, not the count,
keeps a fresh TUI/Desktop chat not-resumed: it stores the submitted prompt before the build.
A new session id (subagent, cron run) or no session store reads False; a /branch child
seeded with copied history reports the copy. Mid-process /resume still goes through
on_session_switch. The developer guide lists both, and on_turn_start's model.
2026-11-07 01:23:45 +05:30
..
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:28:23 +02:00
2026-10-20 21:04:30 -04:00
2026-10-20 21:04:30 -04:00
2026-10-21 23:05:11 -04:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
…
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-20 22:18:49 -04:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 21:29:48 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:54:07 +02:00
2026-10-21 23:05:11 -04:00
2026-10-08 21:29:48 +02:00