diff --git a/src/lib/components/chat/Settings/Models.svelte b/src/lib/components/chat/Settings/Models.svelte index 083980522..ba5976775 100644 --- a/src/lib/components/chat/Settings/Models.svelte +++ b/src/lib/components/chat/Settings/Models.svelte @@ -13,7 +13,7 @@ uploadModel } from '$lib/apis/ollama'; import { WEBUI_API_BASE_URL, WEBUI_BASE_URL } from '$lib/constants'; - import { WEBUI_NAME, models, MODEL_DOWNLOAD_POOL, user, config } from '$lib/stores'; + import { WEBUI_NAME, models, MODEL_DOWNLOAD_POOL, user } from '$lib/stores'; import { splitStream } from '$lib/utils'; import { onMount, getContext } from 'svelte'; import { addLiteLLMModel, deleteLiteLLMModel, getLiteLLMModelInfo } from '$lib/apis/litellm'; @@ -67,8 +67,6 @@ let deleteModelTag = ''; - let showModelInfo = false; - const updateModelsHandler = async () => { for (const model of $models.filter( (m) => @@ -589,28 +587,24 @@ viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" - > - - - - + /> {:else} - + /> {:else} {/if} -
@@ -1140,79 +1129,6 @@ {/if}
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -