Skip to content

A desktop coding agent with free access to frontier models.

TypeScript
413 B
Raw Blame
import { validateProductionConfig } from "../../src/config"

export const dynamic = "force-dynamic"

export function GET(): Response {
  const missing = validateProductionConfig()
  return Response.json({
    service: "omnirush-diagnostics",
    status: missing.length === 0 ? "ok" : "configuration_required",
    ...(missing.length === 0 ? {} : { missing }),
  }, { status: missing.length === 0 ? 200 : 503 })
}