github / github/copilot-cli

copilot cli returns: AggregateError: Failed to list models

Open
#1,081 23 comments 9 reactions 0 assignees View on GitHub
area:authentication area:models
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

I am trying to use copilot cli enterprise. I have successfully logged in but after that none of the commands are working:

● Welcome snagaman_cisco!

● GitHub MCP Server: Connected

✗ Execution failed: AggregateError: Failed to list models

✗ Execution failed: AggregateError: Failed to list models

✗ Execution failed: AggregateError: Failed to list models

✗ Execution failed: AggregateError: Failed to list models

✗ Execution failed: AggregateError: Failed to list models

✗ Execution failed: AggregateError: Failed to list models

/model results in

Select Model

Choose the AI model to use for Copilot CLI. The selected model will be persisted and used for future sessions.

Error loading model list: AggregateError: Failed to list models

Some models are not available. For information on Copilot policies and subscription, visit: https://github.com/settings/copilot/features

I am running this from WSL2 (5.15.167.4-microsoft-standard-WSL2) on WINDOWS 11

The same thing is working from my VS CODE as plugin perfectly. This VS Code is being from WSL env.

Regards
Sai

### Affected version

0.0.391 Commit: e5c18e1

### Steps to reproduce the behavior

copilot

/model

### Expected behavior

_No response_

### Additional context

WSL2 (5.15.167.4-microsoft-standard-WSL2) on WINDOWS 11 Enterprise

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.