mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-24 16:54:43 +00:00
Follow-ups on top of the cherry-picked #27748 mechanism: - move the cap constant to module level with full rationale comment (class attribute aliases it so subclasses/tests can override) - bound the iterative-update path too: the PREVIOUS SUMMARY block is passed through _bound_summary_input so a pathological rehydrated handoff cannot blow up the prompt (previous summary + new turns each capped) - extra regression tests: byte-identical small-input passthrough (identity), direct bound+marker unit check, bound-after-per-message- truncation shape (hundreds of under-_CONTENT_MAX turns), iterative path bounded, marker vs classify_summary_content non-collision - contributor email mapping for @robgfl45
1 line
9 B
Text
1 line
9 B
Text
robgfl45
|