ollama/web/app/api/models/route.js
2023-07-02 22:05:26 -04:00

6 lines
158 B
JavaScript

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