CommandCodeAI / CommandCodeAI/command-code
Show usage per API key
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 4k
- Fork
- 350
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Summary
Allow users to see the usage of individual API keys in addition to the overall usage. This allows users to see which apps, services, agents are using or bleeding tokens.
Expected Behavior
When clicking the Usage tab on the Command Code website, there should be an option to cycle through a list of currently issued API keys, and display the usage for those keys only. OpenCode Go has a good implementation of this feature.
Actual Behavior
Only overall usage is displayed. This means someone who issued multiple API keys can not see which keys are using the most tokens. I can see I used 6 Kimi K2.7 calls yes, but from which of my agents??
Steps to reproduce the issue
Sign into Command Code
Click on Usage
Command Code Version
1.26.0
Operating System
Other
Terminal/IDE
ghostty
Shell
bash
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
This is a feature on the website, user dashboard. Not in the harness.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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.
Hướng nghiên cứu
Bắt đầu từ tab Usage trên trang web Command Code và theo dõi cách mức sử dụng tổng thể được tải và hiển thị; sử dụng implementation OpenCode Go được tham chiếu để so sánh. Công việc được xem là hoàn thành khi người dùng có thể chuyển qua các API key đã cấp cho họ và xem mức sử dụng của key đã chọn, trong khi mức sử dụng tổng thể vẫn có thể truy cập.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- analytics, api, frontend
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 55/100