mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
test(ui): name expected router tiers
This commit is contained in:
parent
11e7ae542b
commit
093c3bfc21
1 changed files with 4 additions and 3 deletions
|
|
@ -30,13 +30,14 @@ describe("auto-router tier model replacement", () => {
|
|||
models: ["gemma4-12b-it-optiq-4bit"],
|
||||
}).value;
|
||||
const saved = buildUpdatedComplexityRouterConfig(stored, changed);
|
||||
|
||||
expect(saved.tiers).toEqual({
|
||||
const expectedTiers = {
|
||||
SIMPLE: ["gemma4-12b-it-optiq-4bit"],
|
||||
MEDIUM: [],
|
||||
COMPLEX: [],
|
||||
REASONING: [],
|
||||
});
|
||||
};
|
||||
|
||||
expect(saved.tiers).toEqual(expectedTiers);
|
||||
expect(saved).not.toHaveProperty("tier_model_configs");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue