import type { FastifyInstance } from "fastify";
import { loadRagConfig, toPublicRagConfig } from "./config.js";

export const registerRagRoutes = async (app: FastifyInstance) => {
  app.get("/api/rag/config", async () => toPublicRagConfig(loadRagConfig()));
};
