Files
clawpanel/src-tauri
晴天 69cce64985 fix(hermes-model-switch): clear stale 'context_length' when switching model in config.yaml
When the user switches model via the model picker, hermes_update_model rewrites
model.default and model.provider in config.yaml but historically left model.context_length
untouched. The Hermes kernel (8ac351407, May 2026) now actively clears that field on
model switch because the previous model's context window almost never matches the new
model — leaving the stale value caused 'context too large' errors and silently truncated
output. Mirror the upstream behavior by dropping the context_length line as we walk the
model: block, so Hermes falls back to the new model's default window.
2026-05-14 02:30:53 +08:00
..
2026-05-13 16:53:47 +08:00
2026-05-13 16:53:47 +08:00
2026-05-13 16:53:47 +08:00