Feature [GUI]: Custom BYOK providers from providers.json work in CLI but are missing in Desktop model picker
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
- 65/100
Hướng nghiên cứu
Start with the Desktop model picker and compare its provider-loading path with the CLI model picker, using ~/.commandcode/providers.json as the shared input. Verify the environment-variable key reference and custom provider models are handled consistently; done means the Desktop picker lists the same custom entries and a selected model can make a request.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
GUI version
0.1.41
Operating system
macOS (Apple silicon)
Reproduction steps
Reproduction steps
- Configure a custom provider in
~/.commandcode/providers.json. - Use an environment-variable reference for the key; do not include the real key.
- Start Command Code CLI.
- Open the CLI model picker and verify that the custom provider models are listed.
- Select one of the custom models and confirm that a request succeeds.
- Quit Command Code Desktop completely.
- Reopen Command Code Desktop.
- Open the Desktop model picker.
- Observe that the custom provider and its models are not listed.
- The built-in Command Code models remain visible.
Expected behavior
Expected behavior
The Desktop model picker should load the same custom BYOK provider and model entries from ~/.commandcode/providers.json that are available and working in the CLI.
Actual behavior
Screenshots, recordings, or sanitized logs
Attached:
- Screenshot of the CLI showing the custom provider/model.
- Screenshot of the Desktop model picker where the provider/model is missing.
- Sanitized logs only.
Removed:
- API keys
- Tokens
- Private repository paths
- Private endpoint URLs
.envcontents- Private source code
Screenshots, recordings, or sanitized logs
Session: 643183ff-d50e-45b0-a322-1fd9bfde6943
Traces: b45f70f015fefe13c9690182bda2fb4d, 8b7e7870362ae6cc02e0e48d5f127dab, ab6f29c021ff579c56124d0a21d0f977, 5a20d04caef556428a4c0939fc9bdc7b, 6f5bfe87307cc4a35d55e0e87e7b963d
Safety check
- I removed credentials and private project information from this report.
- Ngôn ngữ chính
- Shell
- Star
- 85
- Fork
- 5
- Merge trung bình
- 2 giờ 46 phút
- Pull request đã merge (30 ngày)
- 1
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 CommandCodeAI/desktop
-
[Feedback]: add copy block under a code blockCó thể đã có người làm @aliarain đã nhận 4 ngày trước. Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CommandCodeAI/desktop#94 · 1 người được giao ·
-
[Feedback]: Add Expand & Collapse for changesCó thể đã có người làm @aliarain đã nhận 4 ngày trước. Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CommandCodeAI/desktop#66 · 1 bình luận · 2 reaction ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
CommandCodeAI/desktop#122 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
CommandCodeAI/desktop#120 ·
-
bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
CommandCodeAI/desktop#119 ·
Tất cả issue của CommandCodeAI/desktop
Issue tương tự
-
Update cliamp to 2.3.0Đang mởpackage-update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
oSoWoSo/vOid_Community_repOsitory#203 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] v-quick-install-app install crashes with ValueError if no supported PHP version is installedĐang mở
Độ 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
-
chore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
alunduil/alunduil-chezmoi#809 ·
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 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
catppuccin/kde#152 ·