github / github/copilot-cli

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

Offen
#2,524 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
area:models
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.