Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

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

Ouverte
#4,960 2 commentaires 0 réactions 1 personne assignée Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@andyfeller y travaille déjà.

Depuis le 24/9/2026.

Évaluation

Cette issue n'a pas encore été évaluée.

Description

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
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
17 h 6 min
PR mergées (30 j)
5

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de github/copilot-cli

Toutes les issues de github/copilot-cli

Issues similaires

Plus d'issues Shell/Bash

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.