mirror of
https://github.com/anomalyco/opencode.git
synced 2026-06-02 06:16:48 +02:00
chore: generate
This commit is contained in:
@@ -611,16 +611,9 @@ function anthropicAdaptiveEfforts(apiId: string): string[] | null {
|
|||||||
return ["low", "medium", "high", "xhigh", "max"]
|
return ["low", "medium", "high", "xhigh", "max"]
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
[
|
["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) =>
|
||||||
"opus-4-6",
|
apiId.includes(v),
|
||||||
"opus-4.6",
|
)
|
||||||
"4-6-opus",
|
|
||||||
"4.6-opus",
|
|
||||||
"sonnet-4-6",
|
|
||||||
"sonnet-4.6",
|
|
||||||
"4-6-sonnet",
|
|
||||||
"4.6-sonnet",
|
|
||||||
].some((v) => apiId.includes(v))
|
|
||||||
) {
|
) {
|
||||||
return ["low", "medium", "high", "max"]
|
return ["low", "medium", "high", "max"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user