Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Feature [GUI]: Custom BYOK providers from providers.json work in CLI but are missing in Desktop model picker

Đang mở
#121 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
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ệ
shell
Lĩnh vực
cli, desktop

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ả

bug
GUI version

0.1.41

Operating system

macOS (Apple silicon)

Reproduction steps
Reproduction steps
  1. Configure a custom provider in ~/.commandcode/providers.json.
  2. Use an environment-variable reference for the key; do not include the real key.
  3. Start Command Code CLI.
  4. Open the CLI model picker and verify that the custom provider models are listed.
  5. Select one of the custom models and confirm that a request succeeds.
  6. Quit Command Code Desktop completely.
  7. Reopen Command Code Desktop.
  8. Open the Desktop model picker.
  9. Observe that the custom provider and its models are not listed.
  10. 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
  • .env contents
  • 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

  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 CommandCodeAI/desktop

Tất cả issue của CommandCodeAI/desktop

Issue tương tự

Thêm issue về Shell/Bash

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.