From 444d7f4ed19b51dc53eee2bb82d1577469a1ee15 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Mon, 10 Feb 2025 16:37:16 -0800 Subject: [PATCH] feat(leftnav.tsx): initial commit adding guardrails tab on UI allow proxy admin to see currently set up guardrails --- ui/litellm-dashboard/src/components/leftnav.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/litellm-dashboard/src/components/leftnav.tsx b/ui/litellm-dashboard/src/components/leftnav.tsx index 3fcd97bf5f..54668233d5 100644 --- a/ui/litellm-dashboard/src/components/leftnav.tsx +++ b/ui/litellm-dashboard/src/components/leftnav.tsx @@ -17,6 +17,7 @@ import { FileTextOutlined, LineOutlined, LineChartOutlined, + SafetyOutlined, ExperimentOutlined } from '@ant-design/icons'; @@ -56,6 +57,7 @@ const menuItems: MenuItem[] = [ { key: "5", page: "users", label: "Internal Users", icon: , roles: all_admin_roles }, { key: "14", page: "api_ref", label: "API Reference", icon: }, { key: "16", page: "model-hub", label: "Model Hub", icon: }, + { key: "15", page: "logs", label: "Logs", icon: , roles: all_admin_roles }, { key: "experimental", page: "experimental", @@ -63,9 +65,9 @@ const menuItems: MenuItem[] = [ icon: , roles: all_admin_roles, children: [ - { key: "15", page: "logs", label: "Logs", icon: , roles: all_admin_roles }, { key: "9", page: "caching", label: "Caching", icon: , roles: all_admin_roles }, { key: "10", page: "budgets", label: "Budgets", icon: , roles: all_admin_roles }, + { key: "11", page: "budgets", label: "Guardrails", icon: , roles: all_admin_roles }, ] }, {