mirror of
https://github.com/earendil-works/pi.git
synced 2026-09-28 05:54:43 +08:00
fix(ai): stabilize Copilot Claude Opus 5.5 effort levels
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user