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 摘要。