UNPKG

llmatic

Version:

Use self-hosted LLMs with an OpenAI compatible API

8 lines (6 loc) 256 B
import { Option } from "commander"; import { fileURLToPath } from "node:url"; export const llmAdapterOption = new Option( "-a, --llm-adapter <path>", "llm adapter path", ).default(fileURLToPath(new URL("../default-llm-adapter.ts", import.meta.url)));