Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#121 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
cli, desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Shell
Stelle
85
Fork
5
Merge medio
2h 46m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CommandCodeAI/desktop

Tutte le issue di CommandCodeAI/desktop

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.