Feature hasn't been suggested before.
Describe the enhancement you want to request
So we have the current token count on the top right in opencode (I use opencode.nvim).
Can we give a tool to the llm to also see this count / percentage, so we can choose to do custom wrap up procedures at certain thresholds.
Doing this manually atm, but sometimes the llm keeps going and I miss it and it does the auto compact which I don't like.
Or if there's any way to already mess around with the compact?
Feature hasn't been suggested before.
Describe the enhancement you want to request
So we have the current token count on the top right in opencode (I use opencode.nvim).
Can we give a tool to the llm to also see this count / percentage, so we can choose to do custom wrap up procedures at certain thresholds.
Doing this manually atm, but sometimes the llm keeps going and I miss it and it does the auto compact which I don't like.
Or if there's any way to already mess around with the compact?