chore: generate

This commit is contained in:
opencode-agent[bot] 2026-07-20 04:55:12 +00:00
commit 3b719aba48

View file

@ -35,9 +35,7 @@ function isKimiFamily(model: Provider.Model) {
)
return true
const url = model.api.url.toLowerCase()
return ["api.kimi.com", "api.moonshot.ai", "api.moonshot.cn", "api.moonshotai.cn"].some((host) =>
url.includes(host),
)
return ["api.kimi.com", "api.moonshot.ai", "api.moonshot.cn", "api.moonshotai.cn"].some((host) => url.includes(host))
}
// Maps npm package to the key the AI SDK expects for providerOptions