import { getModels } from '@/lib/agent-config.js';

export const runtime = 'nodejs';
export const dynamic = 'force-dynamic';

export async function GET() {
  const models = await getModels();
  return Response.json({ models });
}
