Reduce system prompt token overhead from skill files
Maintainer thường phản hồi trong vòng 1 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
- 35/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- ai
Hướng nghiên cứu
Inspect load_all_skills() and the referenced mechanical-illustration-skill.txt and svg-shape-library.txt files, then measure the current skill-text token usage. Compare the suggested loading, trimming, and budget approaches; done means irrelevant skills are excluded for non-mechanical queries and the total skill text meets a defined target.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Priority: P1 | Source: PR #21 self-review (F2)
Problem
PR #21 adds ~9,150 tokens (75% increase) to the system prompt. load_all_skills() concatenates ALL .txt files unconditionally — mechanical diagram guidance is injected even for non-mechanical queries.
- Pre-PR skill text: ~48.9 KB (~12,200 tokens)
- Post-PR skill text: ~85.5 KB (~21,400 tokens)
Suggested Approaches
- Conditional skill loading — only inject
mechanical-illustration-skill.txtandsvg-shape-library.txtwhen the query involves physical/mechanical subjects - Trim the shape library to the 6-8 most common shapes (as the issue proposal itself suggests)
- Establish a token budget target for total skill text
- Ngôn ngữ chính
- TypeScript
- Star
- 3.9k
- Fork
- 414
- Merge trung bình
- 4 giờ
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 CopilotKit/OpenIntelligentUI
-
Script dedup key truncation may cause collisionsCó thể đã có người làm @saschabuehrle đã nhận 216 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
CopilotKit/OpenIntelligentUI#37 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
CopilotKit/OpenIntelligentUI#29 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Self-host with Docker Compose and optional server-held keysCó thể đã có người làm @kannan983 đã nhận 16 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
CopilotKit/OpenIntelligentUI#98 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Support OpenAI-compatible gateways (OpenRouter) via vendor/model namesCó thể đã có người làm @kannan983 đã nhận 16 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
CopilotKit/OpenIntelligentUI#97 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
UIĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
CopilotKit/OpenIntelligentUI#96 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của CopilotKit/OpenIntelligentUI
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
awslabs/visual-asset-management-system#804 ·
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
restatedev/sdk-typescript#813 ·
-
bug desktop P1 session XS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/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 62/100
Merit-Systems/x402scan#1312 ·
-
type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Azure/apiops-cli#331 ·
Maintainer thường phản hồi trong vòng 3 ngày