github / github/copilot-cli

`copilot --continue` exit code 1 when changing model

Ouverte
#2,524 2 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
area:models
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

I hope changing the model won’t break Copilot on the next launch. Currently, it exits with code 1.

### Affected version

GitHub Copilot CLI 1.0.18.

### Steps to reproduce the behavior

1. Run `copilot`
2. Enter `hi`
3. exit copilot
4. change to another model by edit `~/.copilot/config.json` or change model in the copilot.
5. Run `copilot` again.
6. You can't enter any prompt.

### Expected behavior

I expected Copilot CLI should handle everything for me. It should load context from the last session even using different model.

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