Skip to content

Commit 3b719ab

Browse files
chore: generate
1 parent 20a3a21 commit 3b719ab

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/opencode/src/provider/transform.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ function isKimiFamily(model: Provider.Model) {
3535
)
3636
return true
3737
const url = model.api.url.toLowerCase()
38-
return ["api.kimi.com", "api.moonshot.ai", "api.moonshot.cn", "api.moonshotai.cn"].some((host) =>
39-
url.includes(host),
40-
)
38+
return ["api.kimi.com", "api.moonshot.ai", "api.moonshot.cn", "api.moonshotai.cn"].some((host) => url.includes(host))
4139
}
4240

4341
// Maps npm package to the key the AI SDK expects for providerOptions

0 commit comments

Comments
 (0)