hermes - 💡(How to fix) Fix Preflight compression surfaces Codex OAuth 401 instead of falling back [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

⚠️ Compression summary failed: Error code: 401 - {'error': {'message': 'User not found.', 'code': 401}}. Inserted a fallback context marker.

Fix Action

Fixed

Code Example

⚠️ Compression summary failed: Error code: 401 - {'error': {'message': 'User not found.', 'code': 401}}. Inserted a fallback context marker.
RAW_BUFFERClick to expand / collapse

Problem

When Hermes runs preflight context compression with the main provider set to openai-codex, the auxiliary compression call can fail with:

⚠️ Compression summary failed: Error code: 401 - {'error': {'message': 'User not found.', 'code': 401}}. Inserted a fallback context marker.

The user sees this after preflight compression even though the main turn continues.

Expected

In auxiliary.compression.provider: auto, a transient/auth failure from the auto-selected main provider should try the auxiliary fallback chain (for example OpenRouter) before surfacing a hard compression summary failure.

Notes

The current fallback path handles payment, connection, and rate-limit errors for auto auxiliary calls, but not auth errors from the auto-selected main provider.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING