chore: fix code formatting

This commit is contained in:
Buns Enchantress
2026-02-03 05:50:36 -06:00
parent 66ab70190b
commit 6721f5b0b7
963 changed files with 35240 additions and 8588 deletions

View File

@@ -150,9 +150,11 @@ export default async function handler(req: VercelRequest, res: VercelResponse) {
res.setHeader(key, value);
});
res.setHeader("Content-Type", "text/plain; charset=utf-8");
res.status(200).send(
"I couldn't find relevant documentation excerpts for that question. Try rephrasing or search the docs.",
);
res
.status(200)
.send(
"I couldn't find relevant documentation excerpts for that question. Try rephrasing or search the docs.",
);
return;
}

View File

@@ -35,6 +35,8 @@ export default async function handler(req: VercelRequest, res: VercelResponse) {
res.status(200).json({ ok: true, chunks: count, mode: "upstash-vector" });
} catch (err) {
console.error("Health check error:", err);
res.status(500).json({ ok: false, error: "Failed to connect to vector store" });
res
.status(500)
.json({ ok: false, error: "Failed to connect to vector store" });
}
}