1jehuang / 1jehuang/jcode

Is there a way to make /compact automatic?

Open
#515 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.