From dbe3cf81ebc86c6af3c88d7e9e779c4363243bdc Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Sat, 13 Apr 2024 17:24:31 -0700 Subject: [PATCH] fix - show default langfuse host value --- .../src/components/settings.tsx | 34 +++++++------------ 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/ui/litellm-dashboard/src/components/settings.tsx b/ui/litellm-dashboard/src/components/settings.tsx index 28e273d21..25ccb5070 100644 --- a/ui/litellm-dashboard/src/components/settings.tsx +++ b/ui/litellm-dashboard/src/components/settings.tsx @@ -147,8 +147,6 @@ const Settings: React.FC = ({ Callback Callback Env Vars - - {/* Test Callback */} @@ -159,29 +157,22 @@ const Settings: React.FC = ({
    - {Object.entries(callback.variables).map(([key, value]) => ( -
  • - {key} - -
  • - ))} + {Object.entries(callback.variables).map(([key, value]) => ( +
  • + {key} + {key === "LANGFUSE_HOST" ? ( +

    default value="https://cloud.langfuse.com"

    + ) : ( +
    + )} + +
  • +))}
-
- - - - - - - - @@ -192,6 +183,7 @@ const Settings: React.FC = ({ +