diff --git a/ui/litellm-dashboard/src/components/add_model/ClassificationMethodConfig.tsx b/ui/litellm-dashboard/src/components/add_model/ClassificationMethodConfig.tsx index 34839bb01d6..2a25995a442 100644 --- a/ui/litellm-dashboard/src/components/add_model/ClassificationMethodConfig.tsx +++ b/ui/litellm-dashboard/src/components/add_model/ClassificationMethodConfig.tsx @@ -98,7 +98,6 @@ const HowClassificationWorks: React.FC<{ value: ComplexityRouterConfigValue }> = value.reasoning_override_min_score, ); - // The whole card describes the heuristic scorer, which an edited tier set replaces outright. if (value.custom_tier_set) return null; return ( diff --git a/ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.test.tsx b/ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.test.tsx index c84464e2d77..5304a4b2811 100644 --- a/ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.test.tsx +++ b/ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.test.tsx @@ -194,9 +194,6 @@ describe("AddAutoRouterTab", () => { expect(vi.mocked(handleAddAutoRouterSubmit).mock.calls.at(-1)?.[0]).toMatchObject({ team_id: "team-1" }); }); - // The dry-run exists so a config the write gate would refuse shows the backend's own message - // inline instead of coming back as a raw 400. Nothing asserted that its verdict actually stops - // the submit, so the whole gate could be deleted with the suite still green. it("does not submit when the backend's dry-run rejects the config", async () => { const user = userEvent.setup(); vi.mocked(getMissingTiersError).mockReturnValue(null);