import chalk from "chalk";
import { getIsRunningFromCLI } from "../state.js";
export function getConsoleLogPrefix(forcePrefix = false) {
    const isInCLI = getIsRunningFromCLI();
    if (!isInCLI || forcePrefix)
        return chalk.grey("[node-llama-cpp] ");
    return "";
}
//# sourceMappingURL=getConsoleLogPrefix.js.map