Files
hermes-agent/agent
RelaxJonh 6f305f3dc1 fix: derive agent_context from platform for memory provider context-skip
agent_context was hardcoded to "primary" in init_agent(), making the
provider context-skip logic (cron/flush/subagent) dead code. Memory
providers like supermemory and honcho check agent_context to decide
whether to skip writing to memory for cron/flush/subagent sessions.

Derive agent_context from the platform parameter: "cron" for cron jobs,
"subagent" for subagent sessions, "primary" otherwise.

Fixes #80646
2026-09-19 00:55:05 +05:30
..
…
…