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

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

未關閉
#4,960 2 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@andyfeller 已經在處理了。

開始於 2026年9月24日。

評估

這個 Issue 還沒有評估資料。

描述

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
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
17 小時 6 分鐘
30 天內合併 PR
5

環境準備

從這裡開始

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

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

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

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