mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-11 17:26:32 +02:00
feat: add API endpoint to fetch and format OpenRouter models list
This commit is contained in:
1 parent
d9859ff9e0
commit
63d89e5029
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user