mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-17 16:20:44 +00:00
test: tighten static catalog model assertion
This commit is contained in:
@@ -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,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user