fix(context): preserve missing-key compression history
This commit is contained in:
@@ -9641,8 +9641,14 @@ class HermesCLI(CLIAgentSetupMixin, CLICommandsMixin):
|
||||
self.conversation_history,
|
||||
approx_tokens,
|
||||
new_tokens,
|
||||
compression_state=getattr(
|
||||
self.agent, "context_compressor", None
|
||||
),
|
||||
)
|
||||
icon = "🗜️" if summary["noop"] else "✅"
|
||||
if summary.get("aborted") or summary.get("fallback_used"):
|
||||
icon = "⚠️"
|
||||
else:
|
||||
icon = "🗜️" if summary["noop"] else "✅"
|
||||
print(f" {icon} {summary['headline']}")
|
||||
print(f" {summary['token_line']}")
|
||||
if summary["note"]:
|
||||
|
||||
Reference in New Issue
Block a user