Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1import { createConsola as createConsola$1 } from './core.mjs';2export { Consola, LogLevels, LogTypes } from './core.mjs';3 4class BrowserReporter {5 options;6 defaultColor;7 levelColorMap;8 typeColorMap;9 constructor(options) {10 this.options = { ...options };11 this.defaultColor = "#7f8c8d";12 this.levelColorMap = {13 0: "#c0392b",14 // Red15 1: "#f39c12",16 // Yellow17 3: "#00BCD4"18 // Cyan19 };20 this.typeColorMap = {21 success: "#2ecc71"22 // Green23 };24 }25 _getLogFn(level) {26 if (level < 1) {27 return console.__error || console.error;28 }29 if (level === 1) {30 return console.__warn || console.warn;31 }32 return console.__log || console.log;33 }34 log(logObj) {35 const consoleLogFn = this._getLogFn(logObj.level);36 const type = logObj.type === "log" ? "" : logObj.type;37 const tag = logObj.tag || "";38 const color = this.typeColorMap[logObj.type] || this.levelColorMap[logObj.level] || this.defaultColor;39 const style = `40 background: ${color};41 border-radius: 0.5em;42 color: white;43 font-weight: bold;44 padding: 2px 0.5em;45 `;46 const badge = `%c${[tag, type].filter(Boolean).join(":")}`;47 if (typeof logObj.args[0] === "string") {48 consoleLogFn(49 `${badge}%c ${logObj.args[0]}`,50 style,51 // Empty string as style resets to default console style52 "",53 ...logObj.args.slice(1)54 );55 } else {56 consoleLogFn(badge, style, ...logObj.args);57 }58 }59}60 61function createConsola(options = {}) {62 const consola2 = createConsola$1({63 reporters: options.reporters || [new BrowserReporter({})],64 prompt(message, options2 = {}) {65 if (options2.type === "confirm") {66 return Promise.resolve(confirm(message));67 }68 return Promise.resolve(prompt(message));69 },70 ...options71 });72 return consola2;73}74const consola = createConsola();75 76export { consola, createConsola, consola as default };77 