diff --git a/ui-svelte/src/App.svelte b/ui-svelte/src/App.svelte index 7f4a15c5..31a2fd11 100644 --- a/ui-svelte/src/App.svelte +++ b/ui-svelte/src/App.svelte @@ -9,6 +9,7 @@ import Performance from "./routes/Performance.svelte"; import Playground from "./routes/Playground.svelte"; import PlaygroundStub from "./routes/PlaygroundStub.svelte"; + import Settings from "./routes/Settings.svelte"; import * as Sidebar from "$lib/components/ui/sidebar/index.js"; import * as Tooltip from "$lib/components/ui/tooltip/index.js"; import { Separator } from "$lib/components/ui/separator/index.js"; @@ -23,6 +24,7 @@ "/models/:id": ModelDetail, "/logs": LogViewer, "/activity": Activity, + "/settings": Settings, "/performance": Performance, "*": PlaygroundStub, }; @@ -32,6 +34,7 @@ "/models": "Models", "/activity": "Activity", "/logs": "Logs", + "/settings": "Settings", "/performance": "Performance", }; diff --git a/ui-svelte/src/components/AppSidebar.svelte b/ui-svelte/src/components/AppSidebar.svelte index 930ef672..0f8cfd10 100644 --- a/ui-svelte/src/components/AppSidebar.svelte +++ b/ui-svelte/src/components/AppSidebar.svelte @@ -1,6 +1,6 @@
diff --git a/ui-svelte/src/routes/Settings.svelte b/ui-svelte/src/routes/Settings.svelte new file mode 100644 index 00000000..e81e8a5b --- /dev/null +++ b/ui-svelte/src/routes/Settings.svelte @@ -0,0 +1,32 @@ + + +
+
+

Settings

+
+ +
+

Build Information

+
+
+
Event Stream
+
{$connectionState ?? "unknown"}
+
+
+
API Version
+
{$versionInfo?.version ?? "unknown"}
+
+
+
Commit Hash
+
{$versionInfo?.commit?.substring(0, 7) ?? "unknown"}
+
+
+
Build Date
+
{$versionInfo?.build_date ?? "unknown"}
+
+
+
+