Copilot Chat returns 400 error when using Claude Opus 4.8 — thinking.type.enabled not supported #198817
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Models
Body
Description
Selecting claude-opus-4.8 as the model in GitHub Copilot Chat (VS Code) consistently fails with a 400 error. The request never returns a response — it hangs briefly then errors out. All other Claude models (Opus 4.7, Sonnet 4.6, etc.) work fine.
Error from Copilot Chat extension logs
Server error: 400
{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": ""thinking.type.enabled" is not supported for this model. Use "thinking.type.adaptive" and "output_config.effort" to control thinking behavior."
}
}
Root cause
Claude Opus 4.8 changed the thinking API parameter format. It no longer accepts thinking.type: "enabled" — it requires thinking.type: "adaptive" with output_config.effort. The Copilot Chat extension still sends the old format, causing every Opus 4.8 request to be rejected by the API.
Environment
VS Code: 1.123.0 (remote SSH)
GitHub Copilot Chat extension: 0.51.0
OS: RHEL 9 (Linux 5.14.0)
Platform: VS Code Remote - SSH
Steps to reproduce
Open Copilot Chat in VS Code
Switch model to claude-opus-4.8
Send any message
Observe: request hangs, then fails with error
Expected behavior
Copilot Chat should send thinking.type: "adaptive" (with output_config.effort) when targeting Claude Opus 4.8, matching the current Anthropic API requirements for this model.
Beta Was this translation helpful? Give feedback.
All reactions