From b0219f8c3fa9b1c1789a7ee4a28ddad5340ec8b7 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 19 May 2025 17:18:40 -0700 Subject: [PATCH] fixes for edit alias --- .../model_alias_management.tsx | 31 +++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/ui/litellm-dashboard/src/components/model_dashboard/model_alias_management.tsx b/ui/litellm-dashboard/src/components/model_dashboard/model_alias_management.tsx index c7ea458d042..d292b5b456d 100644 --- a/ui/litellm-dashboard/src/components/model_dashboard/model_alias_management.tsx +++ b/ui/litellm-dashboard/src/components/model_dashboard/model_alias_management.tsx @@ -9,6 +9,7 @@ import { TableHeaderCell, TableCell, TableBody, + Button as TremorButton, } from "@tremor/react"; import { Input, @@ -166,14 +167,13 @@ const ModelAliasManagement: React.FC = ({ }; return ( - -
-
- Model Group Aliases - - Map model alias names to actual model names. Aliases can be used interchangeably with the original model names in API calls. - -
+
+ Model Group Aliases + + Map model alias names to actual model names. Aliases can be used interchangeably with the original model names in API calls. + + +
+ {editingAlias && ( - + )}
@@ -321,6 +319,7 @@ const ModelAliasManagement: React.FC = ({
+
); };