Skip to content

The Open Standard for Generative UI

450 B
Raw Blame
import { modelBoardCsv } from "@/lib/benchmark-agent-data";

export const dynamic = "force-static";
export const revalidate = false;

export function GET() {
  return new Response(`${modelBoardCsv()}\n`, {
    headers: {
      "Content-Type": "text/csv; charset=utf-8",
      "Cache-Control": "public, max-age=0, s-maxage=86400, stale-while-revalidate=604800",
      "Content-Disposition": 'inline; filename="openui-model-board.csv"',
    },
  });
}