Context breakdown counts Static Context as Skills

Đã đóng
#689 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
clojure, emacs
Lĩnh vực
backend

Hướng nghiên cứu

The issue describes static files included with @ being counted as skills in the Context usage breakdown when sent from eca-emacs. Start by tracing how the breakdown classifies context items and how @-included files enter the prompt. Done when those files count as system prompt content instead of skills, and the breakdown reflects that for a large file in a new chat.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

Please avoid AI slops, be concise, and focus on what matters for this issue.

Describe the bug

My Context usage showed 300k token as skills. Those were Static Files (included with @) which were counted as Skills.

To Reproduce

Steps to reproduce the behavior:

  1. Open a new chat in eca-emacs
  2. Include a LARGE file in the first message with @
  3. send the message
  4. Watch the Context usage breakdown

Expected behavior

@ files should be counted as system prompt not as skills

Doctor

Paste the relevant parts of /doctor command from chat if applicable:

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Additional context
Add any other context about the problem here.

Ngôn ngữ chính
Clojure
Star
1k
Fork
82
Merge trung bình
4 ngày 3 giờ
Pull request đã merge (30 ngày)
25

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của editor-code-assistant/eca

Tất cả issue của editor-code-assistant/eca

Issue tương tự

Thêm issue về Clojure

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.