github / github/copilot-cli

Claude Sonnet 4.5 Listed in "/models" but return 400 error

未关闭
#2,597 15 条评论 7 个 reaction 已指派 0 人 在 GitHub 查看
area:models
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

"Claude Sonnet 4.5 is listed in /model but returns 400 error when used"

I was using the model all day, then it simply stopped working and started displaying the following message after each request.

Full error Message:
"✗ Execution failed: CAPIError: 400 The requested model is not supported. (Request ID:EAA9:15725E:2CB259:3196D2:69D6A4D0)"

### Affected version

v1.0.21

### Steps to reproduce the behavior

1. Access the Copilot CLI.
2. /models to list the available models.
3. Select the Claude Sonnet 4.5 (default).
4. Make a request using the Claude Sonnet 4.5 model.
5. See the error.

### Expected behavior

1. Access the Copilot CLI.
2. /models to list the available models.
3. Select the Claude Sonnet 4.5 (default).
4. Make a request using the Claude Sonnet 4.5 model.
5. Receive the Answer.

### Additional context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。