Is there a way to make /compact automatic?
Open
Nobody has claimed this yet.
question
- Dominant language
- Rust
- Stars
- 19.9k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 30
Description
I'm using a model with a 200K(or 262K) context. The reason is that if the context is almost full, I have to interrupt and do a manual compact to continue, otherwise it just gets stuck.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing /compact command and the code that detects when the model context is nearly full. Trace how the current manual compact flow resumes the session. Done means the issue's reported stuck state is handled automatically without requiring an interruption; add or update tests if the relevant behavior has coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- ai, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100