From d40edc09e19383d0e22c8a4a6e89ae11460bfd3e Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 9 Mar 2024 00:50:48 -0800 Subject: [PATCH] feat: hide litellm by default --- .../components/chat/Settings/Models.svelte | 326 +++++++++--------- 1 file changed, 170 insertions(+), 156 deletions(-) diff --git a/src/lib/components/chat/Settings/Models.svelte b/src/lib/components/chat/Settings/Models.svelte index 04e65672..8e9d43d0 100644 --- a/src/lib/components/chat/Settings/Models.svelte +++ b/src/lib/components/chat/Settings/Models.svelte @@ -725,177 +725,191 @@
-
Manage LiteLLM Models
- -
+
-
Add a model
+
Manage LiteLLM Models
{showLiteLLM ? 'Hide' : 'Show'}
-
-
-
- -
- - - +
+ +
+
+
+ - - +
+ + +
+ + {#if showLiteLLMParams} +
+
Model Name
+
+
+ +
+
+
+ +
+
API Base URL
+
+
+ +
+
+
+ +
+
API Key
+
+
+ +
+
+
+ +
+
API RPM
+
+
+ +
+
+
+ +
+
Max Tokens
+
+
+ +
+
+
+ {/if}
- {#if showLiteLLMParams} -
-
Model Name
-
-
- -
-
-
- -
-
API Base URL
-
-
- -
-
-
- -
-
API Key
-
-
- -
-
-
- -
-
API RPM
-
-
- -
-
-
- -
-
Max Tokens
-
-
- -
-
-
- {/if} -
- -
- Not sure what to add? - - Click here for help. - -
- -
-
Delete a model
-
-
- -
- + Click here for help. +
-
+ +
+
Delete a model
+
+
+ +
+ +
+
+ {/if}