mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
Port the useful part of PR #588 onto current main without regressing summary role alternation or the centralized call_llm-based summary path. This adds a prune-first compression pass that: - protects recent tool outputs with adaptive thresholds - never prunes key tool outputs like read_file/memory/clarify - skips the LLM summary call entirely when pruning alone is enough - keeps head/tail protected windows untouched Tests cover prune-only compaction, protected tools, and tail protection. Co-authored-by: teyrebaz33 <hakanerten02@hotmail.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_auxiliary_client.py | ||
| test_context_compressor.py | ||
| test_model_metadata.py | ||
| test_prompt_builder.py | ||
| test_prompt_caching.py | ||
| test_redact.py | ||
| test_skill_commands.py | ||
| test_subagent_progress.py | ||