ollama/web/app/api/models/route.ts
2023-07-05 21:15:49 -04:00

6 lines
156 B
TypeScript

import models from '../../../../models.json'
import { NextResponse } from 'next/server'
export async function GET() {
return NextResponse.json(models)
}