github / github/copilot-cli

Failed to list models: 403 : unauthorized: not authorized to use this Copilot feature

未關閉
#552 30 則留言 3 個 reaction 已指派 1 人 已被 @andyfeller 認領 在 GitHub 檢視
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

My organization has enabled copilot cli. However, I am not able to see any of the models. I receive the following log message:

Failed to list models: 403 : unauthorized: not authorized to use this Copilot feature

### Affected version

0.0.355

### Steps to reproduce the behavior

1. Open copilot cli
2. enter a simple prompt

sfeldman@PRTM-SFeldman ~ % copilot
Welcome to GitHub Copilot CLI
Version 0.0.355 · Commit 90c0eb793

Copilot can write, test and debug code right from your terminal. Describe a task to get started or enter ? for help. Copilot uses
AI, check for mistakes.

● Connected to GitHub MCP Server

● Logged in as user: SteveFeldman

✗ No model available. Check policy enablement under GitHub Settings > Copilot

### Expected behavior

One other user in the enterprise is able to see several models. The only difference is his account is only for our enterprise. My account is my longtime github account that has been added to the organization.

### Additional context

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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