context usage in-chat notifications
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- clojure
- Lĩnh vực
- ai-infra-agents
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Clojure
- Star
- 1k
- Fork
- 82
- Merge trung bình
- 3 ngày 39 phút
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của editor-code-assistant/eca
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
editor-code-assistant/eca#655 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
editor-code-assistant/eca#652 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
editor-code-assistant/eca#648 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
editor-code-assistant/eca#644 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Add the ability to see what changed in the system promptCó thể đã có người làm @zikajk đã nhận 9 ngày trước. Đang mởenhancement
editor-code-assistant/eca#642 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của editor-code-assistant/eca
Issue tương tự
-
Usage analytics `v_tables` ignores table metadata set by users (`metabase_table_user_settings`)Đang mở.Needs Triage .Team/Graphy Priority:P3 Type:Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
metabase/metabase#84762 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NoahTheDuke/splint#57 · 1 bình luận ·
-
category:runtime
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
jank-lang/jank#1110 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
IOP MCP
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
calcit-lang/calcit#2133 ·
Maintainer thường phản hồi trong vòng 1 ngày