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