nn-ui-v2 / build /server /chunks /_server.ts-AR2hBs_m.js
muryshev's picture
init
cf07b75
raw
history blame
502 Bytes
import { d as private_env } from './shared-server-49TKSBDM.js';
import { L as LlamaCppService } from './LlamaCppService-Bqc2roDm.js';
import 'fs';
import 'path';
const GET = async () => {
let llmService = new LlamaCppService(private_env.LLM_API_URL);
let response = await llmService.health();
return new Response(
JSON.stringify({ status: response }),
{
headers: { "Content-Type": "application/json" }
}
);
};
export { GET };
//# sourceMappingURL=_server.ts-AR2hBs_m.js.map