chore: generate
This commit is contained in:
parent
20a3a2138e
commit
3b719aba48
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue