mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-29 06:31:32 +00:00
fix(gateway): hide telegram compaction status noise
This commit is contained in:
parent
581b0215a5
commit
8807b1c727
2 changed files with 2 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ _TELEGRAM_NOISY_STATUS_RE = re.compile(
|
|||
r"|configured\s+compression\s+model\s+.+\s+failed"
|
||||
r"|no\s+auxiliary\s+llm\s+provider\s+configured"
|
||||
r"|auto-lowered\s+compression\s+threshold"
|
||||
r"|compacting\s+context\s+[—-]\s+summarizing\s+earlier\s+conversation"
|
||||
r"|preflight\s+compression"
|
||||
r"|rate\s+limited\.\s+waiting\s+\d"
|
||||
r"|retrying\s+in\s+\d"
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ def test_telegram_status_suppresses_auxiliary_and_retry_noise():
|
|||
noisy_messages = [
|
||||
"⚠ Auxiliary title generation failed: HTTP 400: Operation contains cybersecurity risk",
|
||||
"⚠ Compression summary failed: upstream error. Inserted a fallback context marker.",
|
||||
"🗜️ Compacting context — summarizing earlier conversation so I can continue...",
|
||||
"ℹ Configured compression model 'small-model' failed (timeout). Recovered using main model — check auxiliary.compression.model in config.yaml.",
|
||||
"⏳ Retrying in 4.2s (attempt 1/3)...",
|
||||
"⏱️ Rate limited. Waiting 30.0s (attempt 2/3)...",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue