Skip to content

Automatic context compaction #651

@ethanndickson

Description

@ethanndickson

Right now users have to run /compact themselves, and they have to do so before the model quality degrades, or they reach the model's context limit.

Automatic context compaction would simply run /compact for the user at a configurable percentage of the model's context limit. Users should also be able to turn it off, as power users may prefer to manage plans and context themselves.

The user should be given a warning when the next message would result in a context compaction. The implementation will likely create the compaction request with that next message as the continue message.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions