github / github/copilot-cli

Model selection is case sensitive

未關閉
#1,908 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
area:models
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

All the models are names with lower case. If a user inputs a upper case name, then the model picking will fail.

```
Model "GPT-5.4" is unsupported.

Available models:
- "claude-sonnet-4.6"
- "claude-sonnet-4.5"
- "claude-haiku-4.5"
- "claude-opus-4.6"
- "claude-opus-4.5"
- "claude-sonnet-4"
- "gemini-3-pro-preview"
- "gpt-5.4"
- "gpt-5.3-codex"
- "gpt-5.2-codex"
- "gpt-5.2"
- "gpt-5.1-codex-max"
- "gpt-5.1-codex"
- "gpt-5.1"
- "gpt-5.1-codex-mini"
- "gpt-5-mini"
- "gpt-4.1"

Supported models:
- "claude-opus-4.6-fast"
- "claude-opus-4.6-1m"

For information on Copilot policies and subscription, visit https://github.com/settings/copilot/features
```

### Affected version

GitHub Copilot CLI 1.0.2.

### Steps to reproduce the behavior

/models GPT-5.4

### Expected behavior

*the GPT-5.4 gets selected*

### Additional context

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。