UNPKG

@tehreet/conduit

Version:

LLM API gateway with intelligent routing, robust process management, and health monitoring

20 lines 1.07 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_CONFIG = exports.REFERENCE_COUNT_FILE = exports.PID_FILE = exports.PLUGINS_DIR = exports.CONFIG_FILE = exports.HOME_DIR = void 0; const node_path_1 = __importDefault(require("node:path")); const node_os_1 = __importDefault(require("node:os")); exports.HOME_DIR = node_path_1.default.join(node_os_1.default.homedir(), '.conduit'); exports.CONFIG_FILE = node_path_1.default.join(exports.HOME_DIR, 'config.json'); exports.PLUGINS_DIR = node_path_1.default.join(exports.HOME_DIR, 'plugins'); exports.PID_FILE = node_path_1.default.join(exports.HOME_DIR, '.conduit.pid'); exports.REFERENCE_COUNT_FILE = node_path_1.default.join(node_os_1.default.tmpdir(), 'conduit-reference-count.txt'); exports.DEFAULT_CONFIG = { LOG: false, OPENAI_API_KEY: '', OPENAI_BASE_URL: '', OPENAI_MODEL: '', }; //# sourceMappingURL=constants.js.map