This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/node-llama-cpp/dist/cli/utils/printModelDestination.js
T

11 lines
526 B
JavaScript

import chalk from "chalk";
import { getReadablePath } from "./getReadablePath.js";
export function printModelDestination(modelDestination) {
if (modelDestination.type === "url")
console.info(`${chalk.yellow("URL:")} ${modelDestination.url}`);
else if (modelDestination.type === "uri")
console.info(`${chalk.yellow("URI:")} ${modelDestination.uri}`);
else
console.info(`${chalk.yellow("File:")} ${getReadablePath(modelDestination.path)}`);
}
//# sourceMappingURL=printModelDestination.js.map