mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-15 09:12:18 +00:00
test(ui): derive Anthropic Family reasoning model from preset
The 'carries a preset's per-tier reasoning effort through to the create payload' assertion hardcoded claude-opus-5, which broke after #40341 retargeted the Anthropic Family reasoning tier at claude-fable-5-1. Read the model from ANTHROPIC_TIERS so future preset edits don't red this test, matching the pattern the file already documents at ALL_FAMILY_MODELS. Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
This commit is contained in:
parent
24ef3ec63b
commit
226d0078ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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" } }],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue