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>
20 lines
775 B
TypeScript
20 lines
775 B
TypeScript
import type { Metadata } from "next";
|
|
import { notFound } from "next/navigation";
|
|
import { getBenchmark } from "@/lib/benchmarks";
|
|
import { targetName } from "@/lib/benchmark-view";
|
|
import { BenchmarkDetail } from "./benchmark-detail";
|
|
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
export async function generateMetadata({ params }: PageProps<"/benchmarks/[id]">): Promise<Metadata> {
|
|
const run = await getBenchmark((await params).id);
|
|
return { title: run ? `${run.label ?? targetName(run.snapshot)} · Benchmark` : "Benchmark" };
|
|
}
|
|
|
|
export default async function BenchmarkPage({ params }: PageProps<"/benchmarks/[id]">) {
|
|
const run = await getBenchmark((await params).id);
|
|
if (!run) notFound();
|
|
return <BenchmarkDetail initial={JSON.parse(JSON.stringify(run))} />;
|
|
}
|