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

Enterprise-managed custom model is listed in /model but cannot be selected

Aperta
#4,960 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@andyfeller ci sta già lavorando.

Dal 24/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

triage
Describe the bug

An Enterprise-managed custom model configured through an OpenAI-compatible provider is shown in the interactive /model picker, but cannot be selected.

The picker displays the entry as:

<custom model display name> (preview) (custom)

Selecting the entry and pressing Enter leaves the previously active model unchanged. No error message is displayed.

The model itself is available and can be selected successfully when its full catalog model ID is supplied directly using the --model command-line option. This indicates that the model configuration, Enterprise policy, entitlement, and provider connectivity are valid.

The failure appears to be limited to the interactive /model picker.

Affected version

GitHub Copilot CLI 1.0.88

Steps to reproduce the behavior
  1. Configure an Enterprise-managed custom model using an OpenAI-compatible provider.
  2. Make the model available to an organization.
  3. Start GitHub Copilot CLI.
  4. Run /model.
  5. Select the custom model entry.
  6. Press Enter.
Expected behavior

The custom model should become the active model for the current session, just as it does when its catalog ID is passed with copilot --model <catalog-model-id>.

Additional context
  • The model appears under Other models in the /model picker.
  • The picker displays - for Context and Reasoning for this model.
  • Selecting it with Enter leaves the previous model active and shows no error.
  • Starting Copilot CLI with the model's full catalog ID via --model selects and uses it successfully.
  • This is related to #4953, which reports a similar picker-selection failure for Enterprise custom models whose provider model IDs contain URL-encoded slashes. In this case, the behavior is reproduced without relying on a URL-encoded provider model ID, which suggests a broader issue in the picker path for Enterprise-managed custom models.

Environment:

  • OS: macOS
  • Architecture: arm64
  • Terminal: Ghostty
  • Shell: zsh
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
17h 6m
PR unite (30g)
5

Preparare l'ambiente

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 github/copilot-cli

Tutte le issue di github/copilot-cli

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.