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 摘要。