@user changing the toolset (or earlier message) mid-conversation is typically not a best thing to do because it is not cache friendly. Transformers are autoregressive, and conversation prefix is used as KV cache key, so we try to do the compaction 1) cache friendly when possible [meaning we try appending the compaction prompt, so the cache prefix stays], 2) universal [meaning it does not really matter if the context was hogged by tools or files or what else.
Having said that, stats may be useful to plan your next session and overall adjust your chatting style. So if you’re interested in sending a PR, happy to review it!