Claude Opus 4.5 requests return error 400
還沒有人認領這個 Issue。
評估
研究方向
從隨附的 Copilot for Xcode 記錄以及選取 Claude Opus 4.5 時使用的 Agent 請求路徑開始。檢查送出的請求本文,尤其是 400 回應中識別出的 thinking blocks,並將其與模型預期的格式進行比較。當使用 Claude Opus 4.5 的 Agent 請求被接受,而不是回傳此錯誤時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
Describe the bug
When making an Agent request using Claude Opus 4.5 I have been getting the same error message all day:
Sorry, an error occurred while generating a response. Details: unhandled status from server: 400 {"error": {"message": "messages.1.content.0.thinking: each thinking block must contain thinking","code":"invalid_request_body"}} Request ID: xxx
Versions
- Copilot for Xcode: 0.46.0
- Xcode: 26.2.0
- macOS: 26.2
Steps to reproduce
- Select Claude Opus 4.5 as model
- Select Agent mode
- Enter prompt
- Error is returned
Screenshots
Logs
github-copilot-for-xcode.log
Additional context
Attempted the following to try and resolve:
- Signing out then back in
- Cleaning DerivedData/Copilot cache
- Restarting device
- Uninstalling / Reinstalling Copilot
- 主要語言
- Swift
- 星號
- 6.3k
- 分支
- 2k
- 平均合併
- 3 天 21 小時
- 30 天內合併 PR
- 2
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/CopilotForXcode 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 85/100
github/CopilotForXcode#181 · 2 個 reaction ·
-
Add ability to attach Copilot window only to Xcode projects/workspaces, ignoring standalone files 未關閉
難度 3/5 1-2 天 新手友好度 68/100
github/CopilotForXcode#945 ·
-
難度 2/5 1-3 小時 新手友好度 35/100
github/CopilotForXcode#943 ·
-
難度 5/5 一週以上 新手友好度 10/100
github/CopilotForXcode#936 · 2 則留言 ·
-
難度 5/5 一週以上 新手友好度 10/100
github/CopilotForXcode#934 ·
查看 github/CopilotForXcode 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 75/100
maxgoedjen/secretive#840 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
manaflow-ai/cmux#13763 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
openwallet-foundation/multipaz#2028 ·