test: tighten static catalog model assertion

This commit is contained in:
Peter Steinberger
2026-05-09 14:12:00 +01:00
parent 2b27dc77b9
commit c0132e9aa3

View File

@@ -69,17 +69,20 @@ describe("resolveBundledStaticCatalogModel", () => {
cfg: {},
});
expect(model).toMatchObject({
provider: "mistral",
id: "mistral-medium-3-5",
name: "Mistral Medium 3.5",
expect(model).toEqual({
api: "openai-completions",
baseUrl: "https://api.mistral.ai/v1",
reasoning: true,
input: ["text", "image"],
compat: undefined,
contextTokens: undefined,
contextWindow: 262144,
maxTokens: 8192,
cost: { input: 1.5, output: 7.5, cacheRead: 0, cacheWrite: 0 },
headers: undefined,
id: "mistral-medium-3-5",
input: ["text", "image"],
maxTokens: 8192,
name: "Mistral Medium 3.5",
provider: "mistral",
reasoning: true,
});
});