Files
hermes-agent/agent
kshitijk4poor e30e61f6ff refactor(compression): return the seeded prompt without re-normalizing it
The retain early return coerced agent._cached_system_prompt with `or ""` and
wrote it back. The only setter of _retain_seeded_system_prompt,
gateway.run._seed_hygiene_system_prompt, always stores a str ("" or the
stored prompt) in the same call, and nothing between the seed and the commit
boundary resets it on the detached hygiene / manual-compress agent (the only
None writers are invalidate_system_prompt, which this branch returns before,
and switch_model, which those agents never run). So the normalize/write-back
was dead defence; the empty-seed case still returns "".
2026-09-27 00:42:12 +05:30
..
…
…
2026-09-11 09:31:13 -07:00