Been having trouble with openrouter/moonshotai/kimi-k2.6 as my model. Primarily, even on a /new session, I immediately get compaction:
Auston:
/new
Auston:
Testing... hi...
Ridge ⛰️:
âś… New session started.
Ridge ⛰️:
🧹 Compacting context (1 messages) so I can continue without losing history…
Ridge ⛰️:
âś… Context compacted. Continuing from where I left off.
Ridge ⛰️:
🧹 Compacting context (4 messages) so I can continue without losing history…
Ridge ⛰️:
âś… Context compacted. Continuing from where I left off.
Ridge ⛰️:
✅ Context compacted (119,048 → 29,944 tokens). Continuing from where I left off.
Ridge ⛰️:
🧹 Compacting context (6 messages) so I can continue without losing history…
Ridge ⛰️:
âś… Context compacted. Continuing from where I left off.
Ridge ⛰️:
⚠️ Context limit exceeded. I've reset our conversation to start fresh - please try again.
To prevent this, increase your compaction buffer by setting agents.defaults.compaction.reserveTokensFloor to 20000 or higher in your config.
Auston:
/stop
I didn't jump to the reserveTokensFloor suggestion, because this isn't a traditional context limit exceeded situation, let me know if that is actually relevant. Otherwise this is very odd. google/gemini-3-flash-preview works fine.
[claw@openclaw ~]$ openclaw --version
OpenClaw 2026.5.20 (e510042)