From 04648ee368c9dd6d0e8d12484bded1bcbd485c76 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 17 May 2024 17:02:01 -0700 Subject: [PATCH] fix - enter base_model on azure --- .../src/components/model_dashboard.tsx | 24 +++++++++++++------ 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/ui/litellm-dashboard/src/components/model_dashboard.tsx b/ui/litellm-dashboard/src/components/model_dashboard.tsx index 6e14fd0e0a..6bff680c87 100644 --- a/ui/litellm-dashboard/src/components/model_dashboard.tsx +++ b/ui/litellm-dashboard/src/components/model_dashboard.tsx @@ -121,6 +121,7 @@ const handleSubmit = async (formValues: Record, accessToken: string // Iterate through the key-value pairs in formValues litellmParamsObj["model"] = litellm_model let modelName: string = ""; + console.log("formValues add deployment:", formValues); for (const [key, value] of Object.entries(formValues)) { if (value === '') { continue; @@ -1114,13 +1115,22 @@ const handleEditSubmit = async (formValues: Record) => { } { - selectedProvider == Providers.Azure && - - The actual model your azure deployment uses. Used for accurate cost tracking. Select name from here - + selectedProvider == Providers.Azure && + +
+ + + + + + The actual model your azure deployment uses. Used for accurate cost tracking. Select name from here + + +
} { selectedProvider == Providers.Bedrock &&