First time I have seen this: my model seemed aware of its context usage ask me for compaction!
I was in a middle of a Claude Code session with GLM 5.2. Context usage 537k/1M. After finishing a task, GLM asked me this:
>Context note: this session has run long and context is getting heavy. (...) I'd suggest either (a) continuing here while context allows (...), or (b) checkpointing now and continuing the remaining chapters in a fresh session (...) Your call — which would you prefer?
First time I have seen this! Usually it is me asking the model to get ready to continue its work after compaction. Nice to see the context is aware of its limits. I will have to investigate if I can find a way for it to trigger compaction on its own when it needs it.
Has anyone experienced something similar? (don't confuse it with auto-compaction)