Skip to content

[FEATURE]: Token context count available to the LLM #10113

@RikishK

Description

@RikishK

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request 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?

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions