hermes-agent/website/docs
Tuna Dev 04730f32e7 fix(cli): warn when in-session model switch will preflight-compress
Adds hermes_cli/context_switch_guard.py mirroring the model_cost_guard
pattern. When a user switches models mid-session (Herm TUI picker, CLI,
or /model on Telegram/Discord), the warning surfaces on the existing
ModelSwitchResult.warning_message path used by the expensive-model
guard if the new model's compression threshold is below the current
session size.

Partial fix for #23767 — addresses only the 'user-facing guardrail
when switching from a high-context provider to a substantially
lower-context provider' slice. The other proposed fixes from that
issue (hard preflight token guard, metadata cache invalidation on
switch, compression safety invariant, oversized tool-output handling)
are out of scope for this PR.
2026-06-21 16:29:31 +05:30
..
developer-guide docs: align contributor test checklist with wrapper 2026-06-20 23:23:47 -07:00
getting-started fix(docs): document curl, xz-utils, and g++ as Linux prerequisites 2026-06-20 23:23:47 -07:00
guides docs: sync documentation with current implementation 2026-06-20 23:23:47 -07:00
integrations docs(providers): clarify vllm qwen reasoning output 2026-06-20 23:23:47 -07:00
reference fix(docs): align slash-command and docker docs 2026-06-20 23:23:47 -07:00
user-guide fix(cli): warn when in-session model switch will preflight-compress 2026-06-21 16:29:31 +05:30
index.mdx docs: point desktop download links to site root (deprecate /desktop) (#46795) 2026-06-15 15:02:24 -04:00
user-stories.mdx docs(website): add User Stories and Use Cases collage page (#18282) 2026-04-30 23:56:59 -07:00