Files
hermes-agent/agent
Teknium 10cee93ada fix(prompt-cache): join only the planner's own three-part system split
Review findings from kshitijk4poor on 494ddcb:

- The failover stripper joined any plain three-part system message. A context
  engine's own three parts would then reach a cache-off destination with their
  boundaries removed. The planner marks part 0 in every split it produces, so
  three parts are joined only when part 0 carried a marker (two-part handling is
  unchanged from main).
- Pin the blank-session-rest guard with a test: a whitespace-only text block is
  rejected by Anthropic.
- Direct attribute access for _cached_system_prompt, as the surrounding code asks.
2026-11-11 18:30:54 -08:00
..
…
…
…
…
…
…