From 8ff66cf4195d8231c5677c1bd414b03bef29c878 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 27 May 2024 09:22:42 -0700 Subject: [PATCH] fix supported_openai_params --- .../src/components/model_hub.tsx | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/ui/litellm-dashboard/src/components/model_hub.tsx b/ui/litellm-dashboard/src/components/model_hub.tsx index 24d4bf04504..a7359aea703 100644 --- a/ui/litellm-dashboard/src/components/model_hub.tsx +++ b/ui/litellm-dashboard/src/components/model_hub.tsx @@ -197,21 +197,10 @@ print(response) - - - { - selectedModel?.supported_openai_params?.map((param) => ( - -
-                              {param}
-                             
- - - )) - } - - -
+ + {`${selectedModel.supported_openai_params?.map((param) => `${param}\n`).join('')}`} + + {`