Smarter compaction/compression
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- clojure
- Ambito
- ai-infra-agents
Direzione di ricerca
The issue does not name files or tests; start by locating the context-compaction implementation and how it handles tool results and conversation history. Compare the existing behavior with the proposed head/tail retention, tool pruning, and file summaries, then define and test a focused behavior before considering the broader suggestions.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Keep head and tail messages and files touched
Instead of summarizing everything, pi for example has a configurable keepRecentTokens
Pi also will include all files touched in the summary:
<read-files>
path/to/file1.ts
path/to/file2.ts
</read-files>
<modified-files>
path/to/changed.ts
</modified-files>
If you're familiar with /handoff, this is something it also does.
Hermes agent is similar, but it keeps some tail and head messages and always removes tool call results (any tool result outside the head/tail >200 chars is replaced with a message that the output was cleared). On second compaction, the first summary is also passed with instructions to update it.
Microcompaction and dynamic context pruning
- Claude Code intelligently microcompacts every turn by, but this will break prompt caching with openai's API (needs anthropic's cache_edits)
- dynamic context pruning - different implementations that call themselves DCP do different things, but here are some of the main things that differ from normal compaction:
- removing errored tool inputs (but not the error message)
- removing deduplicated tools (only keep most recent when multiple have same args)
- compressing specific ranges instead of everything with a tool
- protects recent turns from any proving
- Everything from opencode DCP, for example, breaks prompt caching so it would also only make sense to use when the context window was near full
Simplest changes
- some configurable head/tail saving
- some configurable tool call pruning
- including read/edited files in the summary
- Maybe take some inspiration from hermes' prompt and iterative recompression
- Lingua principale
- Clojure
- Stelle
- 1k
- Fork
- 82
- Merge medio
- 3g 39m
- PR unite (30g)
- 15
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di editor-code-assistant/eca
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
editor-code-assistant/eca#655 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
editor-code-assistant/eca#652 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
editor-code-assistant/eca#648 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
editor-code-assistant/eca#644 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Add the ability to see what changed in the system promptForse già presa @zikajk l’ha presa 9 giorni fa. Apertaenhancement
editor-code-assistant/eca#642 · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di editor-code-assistant/eca
Issue simili
-
Usage analytics `v_tables` ignores table metadata set by users (`metabase_table_user_settings`)Aperta.Needs Triage .Team/Graphy Priority:P3 Type:Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
metabase/metabase#84762 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
NoahTheDuke/splint#57 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
IOP MCP
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
calcit-lang/calcit#2133 ·
I maintainer di solito rispondono entro 1 giorno