feat: add API endpoint to fetch and format OpenRouter models list

This commit is contained in:
Michael committed 2026-04-10 13:35:54 +02:00
1 parent d9859ff9e0
commit 63d89e5029
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@ export async function GET(req: NextRequest) {
Authorization: `Bearer ${apiKey}`,
"Content-Type": "application/json",
},
next: { revalidate: 3600 }, // Cache 1h
cache: "no-store",
});
if (!res.ok) {