Repository navigation
feature: /compact for context compression - #306
Conversation
|
Also @Pahari47 you seem to have quite a few checks failing, please resolve them when you get the time. |
actually There is problem in |
Sure let me take a look. @will-lamerton FYI |
@Pahari47 Since the definition below it is much neater.. I feel the definition in lines 294 to 298 can be removed. |
|
Hey @Pahari47, you might want to merge in upstream changes as these test cases were fixed and I can see you branch is behind them :) |
I will fix it then Open the PR |
Document critical issues (race condition, inconsistent token counting), significant issues, and action items for the context compression feature.
Description
closes #13
Implements a message compression system with manual /compact command and automatic context management via auto-compact. Reduces token usage by compressing conversation history while preserving essential information, enabling longer conversations within model context limits.
Type of Change
Features implemented
Manual compression command (/compact)
--aggressive,--conservative,--default,--preview--auto-on,--auto-off,--threshold <n>Auto-compact feature
/compact --threshold <n>and agents.config:Status command enhancement
Compression strategy
Testing
Automated Tests
Note: Test coverage for compression utilities can be added
Manual Testing
Checklist