From 6a950df5498e1d40ec086e6f0ef2bb35b85e9128 Mon Sep 17 00:00:00 2001 From: moe-berri Date: Tue, 8 Sep 2026 12:37:34 -0700 Subject: [PATCH] fix(ui): put the non-reasoning switch above the tier rows The switch adds a row at the top of the tier list, so sitting below Reasoning put the control and the thing it changes at opposite ends of the card. It now heads the list, with a separator between it and the first row. --- .../src/components/add_model/ComplexityRouterConfig.tsx | 8 ++++---- .../src/components/add_model/NonReasoningTierToggle.tsx | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ui/litellm-dashboard/src/components/add_model/ComplexityRouterConfig.tsx b/ui/litellm-dashboard/src/components/add_model/ComplexityRouterConfig.tsx index 540b68cf9f7..c89c130af86 100644 --- a/ui/litellm-dashboard/src/components/add_model/ComplexityRouterConfig.tsx +++ b/ui/litellm-dashboard/src/components/add_model/ComplexityRouterConfig.tsx @@ -659,6 +659,10 @@ const ComplexityRouterConfig: React.FC = ({ + {!customTierSet && ( + + )} + {tierRows.map((row, index) => { const tierInfo = builtInTierInfo(row.id); const label = tierRowLabel(row, value.tier_labels); @@ -739,10 +743,6 @@ const ComplexityRouterConfig: React.FC = ({ ); })} - {!customTierSet && ( - - )} - -
+
Add a non-reasoning tier
- + Adds NON_REASONING below Simple, for operational agent traffic that relays or reformats information rather than reasoning about it. Escalation still moves up out of it when a request needs more. {!available && " Requires the LLM classification method."} + ); };