Skip to content

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

Description

@nishantabanik

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions