Release / release (push) Successful in 12m32s
Kaname keeps two jobs: the model downloader and benchmarks. Benchmarks now run against endpoints (any OpenAI-compatible server added by URL, with an optional server-side API key and hand-written hardware notes) instead of deployments Kaname started itself. Removed: runtimes, deployments, sweeps, resource telemetry, hardware detection, the /api/v1 API with tokens and guardrails, and all Docker access. The quality eval's coding tests run in a network-less sandbox container that shares only an exchange folder with the worker. The previous state is kept in branch backup / tag backup-0.14.3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
877 B
TypeScript
22 lines
877 B
TypeScript
import { LocalTime } from "@/components/local-time";
|
|
import type { EndpointProbe } from "@/lib/db/schema";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
/** Reachable / unreachable / untested, from the last connection test. */
|
|
export function EndpointStatus({ probe }: { probe: EndpointProbe | null }) {
|
|
const state = !probe ? "untested" : probe.ok ? "reachable" : "unreachable";
|
|
return (
|
|
<span className="flex flex-col gap-0.5" title={probe?.error ?? undefined}>
|
|
<span className="flex items-center gap-1.5 text-sm">
|
|
<span className={cn("size-2 rounded-full", state === "reachable" ? "bg-emerald-500" : state === "unreachable" ? "bg-destructive" : "bg-foreground/25")} />
|
|
{state}
|
|
</span>
|
|
{probe && (
|
|
<span className="text-[11px] text-muted-foreground">
|
|
<LocalTime value={probe.at} />
|
|
</span>
|
|
)}
|
|
</span>
|
|
);
|
|
}
|