Skip to content

Commit 9c7788b

Browse files
chore: generate
1 parent f4f508e commit 9c7788b

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

packages/opencode/src/provider/transform.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -611,16 +611,9 @@ function anthropicAdaptiveEfforts(apiId: string): string[] | null {
611611
return ["low", "medium", "high", "xhigh", "max"]
612612
}
613613
if (
614-
[
615-
"opus-4-6",
616-
"opus-4.6",
617-
"4-6-opus",
618-
"4.6-opus",
619-
"sonnet-4-6",
620-
"sonnet-4.6",
621-
"4-6-sonnet",
622-
"4.6-sonnet",
623-
].some((v) => apiId.includes(v))
614+
["opus-4-6", "opus-4.6", "4-6-opus", "4.6-opus", "sonnet-4-6", "sonnet-4.6", "4-6-sonnet", "4.6-sonnet"].some((v) =>
615+
apiId.includes(v),
616+
)
624617
) {
625618
return ["low", "medium", "high", "max"]
626619
}

0 commit comments

Comments
 (0)