github / github/copilot-cli

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

Ouverte
#552 30 commentaires 3 réactions 1 personne assignée Réclamée par @andyfeller Voir sur GitHub
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

### 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_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

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

Recevez les nouvelles issues par e-mail

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