Deployments: serve a model with a runtime container
- deployments + deployment_logs tables; desired/actual state reconciled by the worker (create/start/stop/remove via the socket proxy, /health wait, log follower, stats, memory guard, adopt/remove containers on restart). - Pure command builder for llama-server and vllm serve (mmproj, MTP draft, KV cache types, dtype, KV cache size) with tests; file candidates per engine with tests. - New main menu entry Deployments: list, new/edit form (runtime -> model and files -> launch options, live command preview), detail page with stats, log, endpoint and a streaming chat smoke test. Not yet tested end-to-end against real containers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4f7ae1fc8c
commit
8b74fa69db
32 files changed
+3824
-3
No files matched your search
@@ -1,12 +1,18 @@
|
||||
"use client";
|
||||
|
||||
import { LibraryIcon, SettingsIcon } from "lucide-react";
|
||||
import { LibraryIcon, RocketIcon, SettingsIcon } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
import { usePathname } from "next/navigation";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
const LINKS = [
|
||||
{ href: "/", label: "Library", icon: LibraryIcon, active: (p: string) => !p.startsWith("/settings") && !p.startsWith("/jobs/") },
|
||||
{
|
||||
href: "/",
|
||||
label: "Library",
|
||||
icon: LibraryIcon,
|
||||
active: (p: string) => !p.startsWith("/settings") && !p.startsWith("/deployments"),
|
||||
},
|
||||
{ href: "/deployments", label: "Deployments", icon: RocketIcon, active: (p: string) => p.startsWith("/deployments") },
|
||||
{ href: "/settings", label: "Settings", icon: SettingsIcon, active: (p: string) => p.startsWith("/settings") },
|
||||
];
|
||||
|
||||
@@ -16,7 +22,7 @@ export function AppNav() {
|
||||
return (
|
||||
<nav className="flex items-center gap-1 text-sm">
|
||||
{LINKS.map((l) => {
|
||||
const active = l.active(pathname) || (l.href === "/" && pathname.startsWith("/jobs/"));
|
||||
const active = l.active(pathname);
|
||||
return (
|
||||
<Link
|
||||
key={l.href}
|
||||
|
||||
Reference in new issue
Block a user