test(ui): follow configured model in reasoning preset assertion

This commit is contained in:
jibanez-staticduo 2026-09-09 22:36:30 +02:00
parent fe9a4ffca6
commit 023f3e93e7
No known key found for this signature in database

View file

@ -1047,7 +1047,7 @@ describe("AddAutoRouterTab", () => {
expect(vi.mocked(handleAddAutoRouterSubmit).mock.calls.at(-1)?.[0]).toMatchObject({
complexity_router_config: {
tier_model_configs: {
REASONING: [{ model_name: "claude-opus-5", litellm_params: { reasoning_effort: "high" } }],
REASONING: [{ model_name: ANTHROPIC_TIERS.REASONING[0], litellm_params: { reasoning_effort: "high" } }],
},
},
});