From c470aeec50ff4e0f03ae0004f15a301d163a6834 Mon Sep 17 00:00:00 2001 From: shivam Date: Wed, 29 Jul 2026 23:14:38 +0000 Subject: [PATCH] fix(ui): surface reload no-op as a warning, not an error The reload no-op path used NotificationsManager.fromBackend, which classifies the message as an error toast. A forced-backup reload is informational, so render it via NotificationsManager.warning instead. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- ui/litellm-dashboard/src/components/price_data_reload.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/litellm-dashboard/src/components/price_data_reload.tsx b/ui/litellm-dashboard/src/components/price_data_reload.tsx index 72fb64d5396..8b857b0b069 100644 --- a/ui/litellm-dashboard/src/components/price_data_reload.tsx +++ b/ui/litellm-dashboard/src/components/price_data_reload.tsx @@ -130,7 +130,7 @@ const PriceDataReload: React.FC = ({ await fetchReloadStatus(); await fetchSourceInfo(); } else if (response.status === "no_op") { - NotificationsManager.fromBackend( + NotificationsManager.warning( response.message || "Reload was a no-op because LITELLM_LOCAL_MODEL_COST_MAP forces the bundled cost map.", ); await fetchReloadStatus();