model catalog

This commit is contained in:
2026-02-14 21:00:30 -08:00
parent 9bfd0ec1e7
commit cd449a30fa
5 changed files with 327 additions and 13 deletions

View File

@@ -5,6 +5,7 @@ import swaggerUI from "@fastify/swagger-ui";
import sensible from "@fastify/sensible";
import { env } from "./env.js";
import { ensureDatabaseReady } from "./db-init.js";
import { warmModelCatalog } from "./llm/model-catalog.js";
import { registerRoutes } from "./routes.js";
const app = Fastify({
@@ -18,6 +19,7 @@ const app = Fastify({
});
await ensureDatabaseReady(app.log);
await warmModelCatalog(app.log);
await app.register(cors, {
origin: true,