hermes - 💡(How to fix) Fix All models rejected with "context window below minimum 64,000 tokens" — Telegram completely down [2 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

ValueError: Model kimi-k2.6 has a context window of 32,768 tokens, which is below the minimum 64,000 required by Hermes Agent.

Fix Action

Fixed

Code Example

Sorry, I encountered an error (ValueError).
Model MiniMax-M2.7 has a context window of 32,768 tokens, which is below the minimum 64,000 required by Hermes Agent.  Choose a model with at least 64K context, or set model.context_length in config.yaml to override.

---

ValueError: Model kimi-k2.6 has a context window of 32,768 tokens, which is below the minimum 64,000 required by Hermes Agent.
RAW_BUFFERClick to expand / collapse

Problem

This morning all models went down on Telegram, completely breaking the bot. Every user hit the same error:

Sorry, I encountered an error (ValueError).
Model MiniMax-M2.7 has a context window of 32,768 tokens, which is below the minimum 64,000 required by Hermes Agent.  Choose a model with at least 64K context, or set model.context_length in config.yaml to override.

The same error fired for kimi-k2.6 (also 32,768 context) on a cron job (facebook-groups-daily-scan):

ValueError: Model kimi-k2.6 has a context window of 32,768 tokens, which is below the minimum 64,000 required by Hermes Agent.

Impact

  • Telegram bot completely unresponsive for all users
  • Cron jobs also failing with the same error
  • Previously working models (MiniMax-M2.7, kimi-k2.6) suddenly rejected with no config change on our end

Environment

  • Hermes v0.13.0 (2026.5.7)
  • macOS
  • Telegram polling
  • Models affected: MiniMax-M2.7 (32,768 ctx), kimi-k2.6 (32,768 ctx)

Notes

  • Both models were working fine before this error appeared
  • No config changes made by user
  • Error message suggests setting model.context_length in config.yaml to override — but this was not needed before, suggesting Hermes introduced a new minimum context length requirement in a recent update

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

hermes - 💡(How to fix) Fix All models rejected with "context window below minimum 64,000 tokens" — Telegram completely down [2 pull requests]