feat: add interactive client component for Hit Parade data visualization with sorting, filtering, and date range controls

This commit is contained in:
Michael committed 2026-04-03 10:46:09 +02:00
1 parent 687009dba1
commit 83d101ddc1
4 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ const SITE_LABELS: Record<string, string> = { "292": "Frouard", "579": "Houdemon
export async function POST(req: NextRequest) {
const config = await getSavedDatabaseConfig();
const apiKey = process.env.OPENROUTER_API_KEY || config?.openRouterKey;
const model = config?.openRouterModel || "google/gemini-flash-1.5";
const model = config?.openRouterModel || "google/gemini-2.0-flash-001";
if (!apiKey) {
console.error("[AI] OPENROUTER_API_KEY is missing.");
+1 -1
View File
@@ -36,7 +36,7 @@ const BatchAnalyzeSchema = z.object({
export async function POST(req: NextRequest) {
const config = await getSavedDatabaseConfig();
const apiKey = process.env.OPENROUTER_API_KEY || config?.openRouterKey;
const model = config?.openRouterModel || "google/gemini-flash-1.5";
const model = config?.openRouterModel || "google/gemini-2.0-flash-001";
if (!apiKey) {
console.error("[batch-analyze] API key manquante.");