context usage in-chat notifications
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- clojure
- Ambito
- ai-infra-agents
Direzione di ricerca
The issue names no files or tests; start by locating how ECA handles configuration and evaluates context usage after each turn. Compare that flow with the proposed behavior: threshold messages should be appended once per threshold, reset after compaction, and remain disabled unless configured.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What
It could be useful, if ECA could announce into the chat session itself, that the context is "getting closed to filled", allowing the current agentic flow to potentially react on that. For example, agentic task can be prompted in that way, that `if you see that we're getting close to context compaction, pause your current work and store all the precious task details into your task.md file, so it doesn't get lost on compaction".
How - configuration (very approximate, just for the general idea)
{
"contextNotifications": {
"thresholds": [70, 85],
"template": "[eca] Context at {percent}% ({used}/{limit} tokens, compaction at {compactAt}%)."
}
}
How - approximate behavior:
- ECA evaluates the context usage after each turn.
- When the usage crosses a threshold for the first time, ECA appends one message to the conversation.
- ECA appends the message. It does not rewrite earlier content. Prompt caching stays valid.
- ECA fires each threshold one time only per chat session. After a compaction, the thresholds reset.
- Without a template, ECA appends a neutral status line only.
- Without contextNotifications, the behavior does not change. The feature is off by default.
Backstory and discussion (slack) :
https://clojurians.slack.com/archives/C093426FPUG/p1789028953654579
Notes from Akiz:
Yeah, the template should be probably handled like others. I guess we can go just with one message here. But if we want to repeat when it changes from 90% to 95% for example then I would go with the repeated message that is not part of the history (which shouldn't invalidate the cache). Both is possible. Maybe the simpler approach is enough.
Maybe wait with any code analysis until memory shipsas it sounds like something it might profit from some new abstractions. I am also wondering if models will try to call eca_compact when they will see this threshold
- 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 ·
-
category:runtime
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
jank-lang/jank#1110 · 2 commenti ·
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