mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
- Add `name` property to minimax, kat-coder-pro, and trinity-large-preview models that were previously missing it - Move type annotation from `as FeaturedModel[]` casts to the variable declaration for proper type checking at assignment time - Add test to verify all featured models include a display name
13 lines
321 B
TypeScript
13 lines
321 B
TypeScript
import { describe, expect, it } from "vitest"
|
|
import { getAllFeaturedModels } from "./featured-models"
|
|
|
|
describe("featured models", () => {
|
|
it("includes display names for all featured models", () => {
|
|
const models = getAllFeaturedModels()
|
|
|
|
for (const model of models) {
|
|
expect(model.name).toBeTruthy()
|
|
}
|
|
})
|
|
})
|