feat: add LiteLLM health page to dashboard
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 2m45s

Expose LiteLLM operational status in the NAS Dashboard UI so auth-required and outage states are visible without calling backend APIs directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Gan, Jimmy
2026-03-02 03:50:56 +08:00
parent 56743d1cf4
commit 910ed3f7e6
4 changed files with 118 additions and 0 deletions
+3
View File
@@ -9,6 +9,7 @@
import Settings from "./routes/Settings.svelte";
import ChatSummary from "./routes/ChatSummary.svelte";
import Security from "./routes/Security.svelte";
import LiteLLM from "./routes/LiteLLM.svelte";
import Login from "./routes/Login.svelte";
import { onMount } from "svelte";
import { getToken, checkAuth, setToken, setRefreshToken, currentUser, setCurrentUser, getPreferences, savePreferences } from "./lib/api.js";
@@ -153,6 +154,8 @@
<Settings />
{:else if page === "security" && hasPageAccess("security")}
<Security />
{:else if page === "litellm" && hasPageAccess("dashboard")}
<LiteLLM />
{:else}
<Dashboard />
{/if}