github / github/copilot-cli

resumed session blocks access to model picker

Aberta
#3,680 1 comentário 0 reações 0 responsáveis Ver no GitHub
area:authentication area:models area:sessions
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### Describe the bug

When I resume a session via `copilot --resume`, if I try to use `/model` command in the resumed session, all attempts are blocked with

```
✗ Error loading model list: Error: Not authenticated
```

All other commands in copilot work fine, and I can continue talking to previously selected model as well, but I'm not able to pick a new model in the resumed session due to this.

### Affected version

1.0.59

### Steps to reproduce the behavior

1. `copilot --resume`
2. pick session
3. resume session
4. try to switch models with `/model`
5. command is blocked with `✗ Error loading model list: Error: Not authenticated`

### Expected behavior

I can use `/model` in a resumed session.

### Additional context

_No response_

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Reproduce the issue with `copilot --resume`, select a session, and run `/model`. Trace the resumed-session model-list request and its authentication handling; done means `/model` loads the model list and allows switching models in a resumed session without affecting other commands.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
shell
Domínio
authentication, cli
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
48/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.