Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

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

未關閉
#121 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
65/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
shell
領域
cli, desktop

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.
主要語言
Shell
星號
85
分支
5
平均合併
2 小時 46 分鐘
30 天內合併 PR
1

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CommandCodeAI/desktop 的其他 Issue

查看 CommandCodeAI/desktop 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。