File size: 502 Bytes
cf07b75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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