diff --git a/CHANGELOG.md b/CHANGELOG.md index 520d983..ea17fe4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,11 @@ step 1 (Hugging Face downloader) is released as a minor version. - Deployment page: state, load time, live CPU/RAM, endpoint URLs (Docker network and published port), live log, start/stop/edit/delete, and a "Try it" chat that streams the answer and shows time to first token and tokens/s. + - llama.cpp's built-in **web UI** can be switched on or off per deployment (`--no-webui`); with a + published host port the deployment page links to it. + - A failed start names the cause from the log (e.g. vLLM's `ValueError` instead of the end of the + traceback), followed by the last lines of output. + - A deployment's vLLM data type replaces the runtime's `--dtype` instead of repeating the flag. - Models and runtimes used by a deployment can't be deleted until the deployment is. ### Fixed diff --git a/src/app/(app)/deployments/[id]/deployment-detail.tsx b/src/app/(app)/deployments/[id]/deployment-detail.tsx index 46ac574..d6a575a 100644 --- a/src/app/(app)/deployments/[id]/deployment-detail.tsx +++ b/src/app/(app)/deployments/[id]/deployment-detail.tsx @@ -1,6 +1,6 @@ "use client"; -import { PencilIcon, PlayIcon, SendIcon, SquareIcon, Trash2Icon } from "lucide-react"; +import { ExternalLinkIcon, PencilIcon, PlayIcon, SendIcon, SquareIcon, Trash2Icon } from "lucide-react"; import Link from "next/link"; import { useRouter } from "next/navigation"; import { useEffect, useRef, useState, useSyncExternalStore } from "react"; @@ -74,6 +74,8 @@ export function DeploymentDetail({ initial }: { initial: Deployment }) { () => null, ); const published = d.hostPort && hostname ? `http://${hostname}:${d.hostPort}/v1` : null; + // llama-server's built-in chat UI, served at / on the same port. + const webUi = d.engine === "llama.cpp" && d.options.webui !== false && d.hostPort && hostname ? `http://${hostname}:${d.hostPort}/` : null; return (
@@ -95,6 +97,18 @@ export function DeploymentDetail({ initial }: { initial: Deployment }) { {d.runtimeImage}
+ {webUi && ( + + + Web UI + + )} {active ? (