fix(ai): stabilize Copilot Claude Opus 5.5 effort levels

This commit is contained in:
Armin Ronacher
2026-09-23 11:41:33 +02:00
parent 4c2dfd9362
commit fde38ed7c2
+4 -1
View File
@@ -2758,7 +2758,10 @@ async function generateModels() {
}
// models.dev may list Opus 5.5 before its effort metadata is complete.
if (candidate.provider === "anthropic" && candidate.id === "claude-opus-5-5") {
if (
(candidate.provider === "anthropic" && candidate.id === "claude-opus-5-5") ||
(candidate.provider === "github-copilot" && candidate.id === "claude-opus-5.5")
) {
mergeThinkingLevelMap(candidate, {
off: null,
minimal: null,