(key: string)
| 372 | try { |
| 373 | const content = await readFile(envPath, "utf-8"); |
| 374 | const get = (key: string) => { |
| 375 | const m = content.match(new RegExp(`^${key}=(.+)$`, "m")); |
| 376 | return m?.[1]?.trim() ?? ""; |
| 377 | }; |
| 378 | const key = get("INKOS_LLM_API_KEY"); |
| 379 | if (!key || key.includes("your-api-key")) return undefined; |
| 380 | return { |
no outgoing calls
no test coverage detected