File size: 979 Bytes
cf07b75
1
{"version":3,"file":"_server.ts-AR2hBs_m.js","sources":["../../../.svelte-kit/adapter-node/entries/endpoints/llm/health/_server.ts.js"],"sourcesContent":["import { d as private_env } from \"../../../../chunks/shared-server.js\";\nimport { L as LlamaCppService } from \"../../../../chunks/LlamaCppService.js\";\nconst GET = async () => {\n  let llmService = new LlamaCppService(private_env.LLM_API_URL);\n  let response = await llmService.health();\n  return new Response(\n    JSON.stringify({ status: response }),\n    {\n      headers: { \"Content-Type\": \"application/json\" }\n    }\n  );\n};\nexport {\n  GET\n};\n"],"names":[],"mappings":";;;;;AAEK,MAAC,GAAG,GAAG,YAAY;AACxB,EAAE,IAAI,UAAU,GAAG,IAAI,eAAe,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;AAChE,EAAE,IAAI,QAAQ,GAAG,MAAM,UAAU,CAAC,MAAM,EAAE,CAAC;AAC3C,EAAE,OAAO,IAAI,QAAQ;AACrB,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;AACxC,IAAI;AACJ,MAAM,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;AACrD,KAAK;AACL,GAAG,CAAC;AACJ;;;;"}