You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
552 B
TypeScript
14 lines
552 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { buildKimiCodingProvider } from "./provider-catalog.js";
|
|
|
|
describe("kimi provider catalog", () => {
|
|
it("builds the bundled Kimi coding defaults", () => {
|
|
const provider = buildKimiCodingProvider();
|
|
|
|
expect(provider.api).toBe("anthropic-messages");
|
|
expect(provider.baseUrl).toBe("https://api.kimi.com/coding/");
|
|
expect(provider.headers).toEqual({ "User-Agent": "claude-code/0.1.0" });
|
|
expect(provider.models.map((model) => model.id)).toEqual(["kimi-code", "k2p5"]);
|
|
});
|
|
});
|